We are loading data from an external data source to Percussion CMS as content items thru web service calls. We are able to create content items and load their data fields that have string values. However, we are unable to update the sys_contentexpirydate field. We need to load this field with the archive date value that we are getting from our source.
This field I believe accepts java.util.Date objects only. This is the fields load code that we are using for String fields.
PSFieldValue value = new PSFieldValue();
String rawDta=fields.get(field.getName());
value.setRawData(rawDta);
field.setPSFieldValue(new PSFieldValue { value });
How should we modify the above code to accept a data input parameter?
thanks
Manvinder