Element type: Tell me how to set a value on an attribute for date and time from program.

 
Element type: Please specify class of java.utill.Date if you set a value on an attribute for date and time from program. 
Sample program is as follows. 
*This is sample, so please create program which meets your requirements.. 

```
AttributeId attributeid = AttributeId.fromIdString(“Target attribute”);
Date now = new Date();

Map<AttributeId, Object> attributeMap = new HashMap<AttributeId, Object>();
attributeMap.put(attributeid, now);
```

 -- Target -------------------------------------------------------------------------
 iAP/Accel Applications/Accel Documents/All Updates
 --------------------------------------------------------------------------------


FAQID:1074
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk