Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

One to many related list

manoj571
Tera Contributor

Hi All,

In the customer project task form, I need a related list that links to Change request. I

have created a UI action for the same (Edit), so that it can map the existing change records to the Customer Project task. When I click the Edit button, the Change Requests list is shown, but if I select a few and Save, it is not reflected in the Related list. This is my UI action code:

 

// Initialize URI and set parameters
var uri = action.getGlideURI();
uri.set('sysparm_o2m_ref', current.getTableName());
uri.set('sysparm_collection_related_file', current.getTableName());
uri.set('sysparm_form_type', 'o2m');
uri.set('sysparm_stack', 'no');
action.setRedirectURL(uri.toString('sys_m2m_template.do'));

Am I missing something?

0 REPLIES 0