Modified By and Created By are blank

Nov 6, 2009 at 3:21 PM

Where am I missing where I should be passing in a username to record against this field - thanks in advance

Nov 6, 2009 at 5:26 PM

When you create or load a collection, pass in the user name.

CustomerCollection customerCollection = new CustomerCollection("user1");
CustomerCollection customerCollection = CustomerCollection.RunSelect("user1");

This will set the modifier for the collection. Any object added or updated will have the appropriate column (created or modified) set. This used to be mandatory, but we overloaded it to allow you to call RunSelect with no modifier parameter. This is probably the confusion. I know it is not the most intuitive way.

This information is not tie to any database table. It is just free form text. It was envisioned to allow the software developer to put whatever user was logged in the system into this field.

<input id="gwProxy" type="hidden" /><input id="jsProxy" onclick="jsCall();" type="hidden" />