The CreatorCon Call for Content is officially open! Get started here.

Create a button 'ADD' on the form using ui macros.

priya2023
Tera Contributor

  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 .

11 REPLIES 11

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).

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)

MarkusKraus_0-1685461398252.png