Create a button 'ADD' on the form using ui macros.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2023 02:36 AM
In my custom application I want to create a button ADD on the field caller, using Ui macros. please provide step by step way to create the action with xml .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2023 03:18 AM
Hi,
I appreciate for your quick response and the solution you provided helps to create a button. But I need the action by on click the ADD button have to create a new reference field. please help in scripting. I stuck in Ui macros record in Xml(scripting).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2023 08:43 AM
I'll try to help you, however I do not fully understand your requirement.
@priya2023 wrote:Step2: Configure a ref field(approved By) and email Field make to auto populate.
Step3: Create Buttons ADD and REMOVE. when we click on ADD button need to get the users list. and from the user list we can select required users. In the same way reverse action for REMOVE button(to remove the users)
The ref field "approved by" and "email" field are for a single user only. The approved_by is for a reference to sys_user I assume?
Do you want to have a button which lets you select a user which gets added some kind of "approver" list?
Please describe your requirement in more detail.
Also, if you need to achieve something like this (where you have a list of users and/or emails), you can do it with an OOTB List field (referencing sys_user)