We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Ankur Bawiskar
Tera Patron

@priya2023 

sorry didn't get your requirement.

Can you explain with screenshots?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

Appreciate for the response. Actually the requirement is, I want to create the buttons 'add' and 'remove' on the reference field. when I click on Add button, need to create a new field under the reference field. In the same way by click on remove button we need to remove the field under reference field on my custom table. can we achieve this requirement using ui macros. please help me in this requirement.

@priya2023 

this is for normal form or catalog form?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

on normal form