Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2018-05-18 03:59 PM - edited 2024-07-24 05:17 PM
Welcome to my little space in the corner on Link dedicated to custom objects in Archer, Archer Custom Objects Forum - Archer Community
With this little community I plan on writing documents on various aspects to custom objects along with sample code and how they work within Archer to add a little bit of flair to your applications.
I'll start this off with a little background on what custom objects are.
Custom objects is a layout object that allows you add HTML and JavaScript to an application. With custom objects you can use them to manipulate an application to perform actions that cannot be done with calculate fields or Rules/Actions (DDEs). Custom object can implemented based on the state of the record; meaning that it could only run if the record is in View mode, Edit mode or both View and Edit mode and it executes with the same permissions as the user has that's viewing/editing the record.
With custom objects you could perform the following:
There are some concerns with custom objects to be aware of especially when it comes reading or updating fields in an application or questionnaire. Archer uses the "field id" when it comes referencing fields in an application or questionnaire and these id's are specific to the environment. So when you move an application or questionnaire to another environment the field id's will most likely be different and you would have to update those field id's each time you install a package.
|
Advisory Consultant
2018-06-29 01:59 PM
David Petty, Thanks for starting this off, its a great initiative an will be really helpful.
2018-08-30 11:53 AM
I am looking for guidance on creating a Custom Object that will display a Help Text table in the About Section.
2018-08-30 11:57 AM
Ayuana if it's just HTML you can use a Text Box instead of a Custom Object. You can build your table in any HTML editor, copy the HTML and in the Text Box click the <> in the toolbar and paste the HTML.
Advisory Consultant
2018-08-30 12:01 PM
Thank you!
2019-03-22 11:35 AM
Are there any on demand courses that go over Custom Objects? Thank you.
2019-03-22 11:41 AM
Unfortunately no. Custom objects are basically the use of JavaScript that interacts with the browsers DOM to perform actions on behalf of the user.
Advisory Consultant
2019-06-17 06:22 AM
I have 10 questions on my application and I want to display a popup when a user has not answered any question while clicking a button to tell them which all questions they have not answered.
I cannot make the questions mandatory.
Is there a way to implement it without custom object?
2019-06-17 09:20 AM
Other than making the questions required, there is no other way to incorporate a "button" on the layout to check to see if all the questions have been answered.
May I ask why you cannot make the questions required? You could make the question required based on the status of a field. For example if you have a values list called Submit with a single value of 'Yes' you could make the questions required when the user selects 'Yes' for that field.
Advisory Consultant
2019-06-19 04:50 AM
Thanks for the suggestion David.
I cannot make the questions mandatory as user will have to provide all the answers else they cannot save.
The requirement is user is not forced to provide all the answers at once and to have a button via custom object which will inform the user how many questions are not answered.