Reference field in Mobile App

Sanket Shinde2
Mega Expert

Hello,

I have a custom table and I am creating entries in this table via a mobile app.

I have configured the app to create string values in the table, but in the custom table there is a reference field too.

 

Till now, I have configured Action Items and Function, but I did not find a "reference" type there.

The only types available in UI Parameter are Text,Barcode,Search and Choice. 

I tried using Search type, but when I create an entry from the app, it becomes blank in the table.

Also, when I use search type, when I use the table as "Stockroom", the only options I see in Field name are the reference fields from Stockroom table, but I want the user to select from name field in the stockroom table.

Kindly advice how to proceed on this, as I do not have much knowledge on mobile app development.

Thank in advance.

Regards,

Sanket

1 ACCEPTED SOLUTION

You cannot select non-reference fields for search type. If you are creating a function for the Stockroom table then simply select Text as type. However, if you are creating a function for a custom table then follow below.

Change the Table name to "Your Custom Table Name". In the field name, you will see all the reference fields of the Custom table. Select the appropriate one.

 

Regards,
Muhammad

View solution in original post

3 REPLIES 3

MrMuhammad
Giga Sage

For Rerefence fields you need to use "Search" type.

In the table select your custom table.

In the field you will select the target referenced field.

Using above steps your mobile reference field will get associated to custom table reference field and act similar to that. 

Also, make sure to allow cross scope privileges [if not alread] to not get the failed error message. 

Regards,
Muhammad

Hello Muhammad,

Thank you for the response.

I am already using the "search" type in UI parameters and I am using alm_stockroom table, but in the "field name" dropdown I cannot find "name". I can using see the fields which are also reference fields in stock room table.

 The fields available in "Field Name" dropdown are Location,Assignment Group,Manager, Type.

find_real_file.png

Regards,

Sanket

You cannot select non-reference fields for search type. If you are creating a function for the Stockroom table then simply select Text as type. However, if you are creating a function for a custom table then follow below.

Change the Table name to "Your Custom Table Name". In the field name, you will see all the reference fields of the Custom table. Select the appropriate one.

 

Regards,
Muhammad