Reputation: 21
I have tried getting the value with JavaScript functions but getting Invalid date. Also,
var dat = new Date(String(Archertech.UI.GenericContent.GetInstance().getFieldValue(ScheduledDate,false)));
gives the date from one field only, but there are two date fields.
I wonder where can I get the list of functions like
Archertech.UI.GenericContent.GetInstance().getFieldValue(ScheduledDate,false)
Upvotes: 1
Views: 768
Reputation: 333
Sourabh, you'd have to call the CM.getFieldValue()
function for each date field you want to get the value of. There is no such function to retrieve all date fields at once.
RSA Archer doesn't provide any documentation for client-side functions.
Upvotes: 1
Reputation: 21
There is a Client Manager frontend API that is available which has many functions that will give you the values from fields in the Application.
To get all the function list :
Now, to get a date field value, use $CM.getFieldValue(fieldId);
Upvotes: 1