Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2018-10-03 07:40 AM
Hi!
Every time someone asks about something to do using custom objects, there is an answer with sample code.
Sometimes, there are functions and objects in code, that never occurred for me before.
For example:
WarningConfirm(msg,userConfirmed,title);
$CM.setFieldValue(contDate, null, '');
$CM.getFieldById(fid);
Sys.Application.add_load(function() {});
What are they? Is there any doc on what objects and functions, provided by Archer we can use?
For example, "$CM" objects contains a lot of functions, that looks very helpful, but I'm unable to find any info on their capabilities.
Best regards,
Sergei
2018-10-03 07:47 AM
Hi Sergei
Most of those items are client side functions, and currently there is no documentation on what's exposed and how to use them.
The,
Sys.Application.add_load(function() {});
Is an asp.net specific function that fires once everything is loaded in the record. Best used when referencing any of the data within an application, questionnaire or sub-form.
Advisory Consultant
2018-10-03 07:47 AM
Hi Sergei
Most of those items are client side functions, and currently there is no documentation on what's exposed and how to use them.
The,
Sys.Application.add_load(function() {});
Is an asp.net specific function that fires once everything is loaded in the record. Best used when referencing any of the data within an application, questionnaire or sub-form.
Advisory Consultant
2018-10-03 08:54 AM
Thanks for fast reply!
Is there any plans on creating documentation like this?
2018-10-03 09:34 AM
None that I know of being any of those functions can be changed/depreciated at any time and maintaining any documentation would be a nightmare.
Advisory Consultant
2018-10-03 09:52 AM
There's a $LM object, too.
2018-10-03 01:34 PM
I remember, I asked David the same question about some sort of API And he shared, that he was seeking the same long time ago Since that, we can only dig into the existing API calls and reverse engineer.