cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Date and Time - Today's Date

Cosmo
1-Visitor

Date and Time - Today's Date


Hi All,
I've created a Date & Time attribute to be used on a new soft type document. It has a default date when you create it. This means that each time I create a new object, I'll see the default date instead of today's date. Does anyone know if there is a value I can enter into this field so that it always defaults to today's date instead of some arbitrary date?

Mike -

2 REPLIES 2

I didn't have the exact issue. I just wanted it to not populate a value
for the attribute. To do this you can change the AllClients.xml file.

This is located under
<loadpoint>\codebase\config\logicrepository\xml\AllClients.xml


You can add an element like the following example


<elementgroup>
<logiccontext datatype="WCTYPE|wt.doc.WTDocument|&lt;Soft" type=" name=">" />
<objectattributes id="ObjectAttributes">
<attributeeditfield id="IBA|EffectiveDate"&lt;br"/>defaultValueDisplayMode="none" />
<attributeeditfield id="IBA|EndDate"&lt;br"/>defaultValueDisplayMode="none" />
</objectattributes>
</elementgroup>


This set's the Default Value for two attributes to none. They are required
attributes so the UI will make sure the user has populated them with the
correct values.

Not sure if there is a way to put a default value in here too.

Steve D.


>
> Hi All,
> I've created a Date & Time attribute to be used on a new soft type
> document. It has a default date when you create it. This means that each
> time I create a new object, I'll see the default date instead of today's
> date. Does anyone know if there is a value I can enter into this field so
> that it always defaults to today's date instead of some arbitrary date?
>
> Mike -
>
>
>
Cosmo
1-Visitor
(To:Cosmo)


Stevie D.....you are a genius my friend...that is exactly what I was looking for!
Mike -


Announcements


Top Tags