how to get or set field value of mobile card by script

Mai Iris
Tera Contributor

 

Hello exparts, I want to find out how I can get or set Field value on a mobile card and Fields on a Details screen embedded on a Record screen segment by script.

 

I try to configure to searching for users by sys_user and some custom table with global search(zing).
However, there are some value that I want to display in the search results is not in sys_user.So, I should get some value with other table that has them.

Im not sure it is possible or not, please can anyone help me?

2 REPLIES 2

Slava Savitsky
Giga Sage

As far as I understand, when setting up a mobile card, you can only reference fields in other tables if you can reach them via dot-walking. In your example, if you had a reference field in [sys_user] table pointing to the corresponding entry in your custom table, you would be able to dot-walk to it in the mobile card builder.

Thanks for the reply.
I understood that dot walk can be used with Mobile Card Builder.
Unfortunatly, the field which I want to display is not reference field in [sys_user] .

 

Here's what I want to achieve.


1. search [sys_user] table in global search (zing). *search source[sys_user] 

2. username[sys_user),duty[custom table] in list item for search result display items.

* I want to get data from [sys_user] ,[custom table], and I understood it's impossible.

3. On tap list item, navigate to record screen for detail.

* I want to pull datas from [sys_user] ,[custom table] on detail screen.

I want to show data from [sys_user] and [custom table] using record screen segment.

This custom table has a column named user_id, which is a reference field to sys_user.

I am trying to use function(type:navigate) to pass the User ID of sys_user with UI parmeter to the user id in the custom table.

 

But it doesn't work...