How to pass parameter to a function in Mobile

Yusuf5
Tera Expert

Dear all,

 

I am currently displaying all the record producers on a List screen in a Mobile application.

When a record is tapped, I want to navigate to the corresponding ESC record using the following format:

I can manage by creating a tap function and use the URL link as follows.
/mesp?id=sc_cat_item&sys_id=01205b180a0a0b3000b6efd641d24b75.

However, the issue is that when the sys_id remains constant it works, but I need to dynamically pass the sys_id of the tapped record.

Any guidance on resolving this would be greatly appreciated.

 

Best regards,
Yusuf


1 ACCEPTED SOLUTION

RaghavSh
Mega Patron

I have seen something like /mesp?id=sc_cat_item&sys_id={{sys_id}} working.

From the list screen tap function/function instance , you can pass the dynamic sys_id.

 

Go to "sys_sg_button" table and apply the query as "link url is not empty". There are quite a lot of exmples.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn

View solution in original post

4 REPLIES 4

RaghavSh
Mega Patron

I have seen something like /mesp?id=sc_cat_item&sys_id={{sys_id}} working.

From the list screen tap function/function instance , you can pass the dynamic sys_id.

 

Go to "sys_sg_button" table and apply the query as "link url is not empty". There are quite a lot of exmples.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn

@Yusuf5 were you able to get this working?


Raghav
MVP 2023
LinkedIn

Hi,

 

Thanks Raghav,

I had to change the context from Global to Record and picked the table then updated the Link URL as /mesp?id=sc_cat_item&sys_id={{sys_id}}

And it worked.

Great that was the idea.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn