Insert image into new work order mobile
Question
Application Type
Mobile
Service Studio Version
11.11.8 (Build 45664)

Hello all-

I am sure this is an easy one for someone.

All data is collected offline in local tables

I have built a work order app.  In the app the user creates a new record entering specific information related to the work.  My issue is adding photos the user takes to add to the record

I know the images are stored in a different table and are linked to main record using an identifier.  My issue is the main record identifier.  Since in the sync it is sent as a null identifier how do I generate the identifier to link it to the photos?


Thank you for your help

Andy

Hi Andrew,

You need to create the work record then the workid is generated to be assigned to binaries records to create.

Thank you Priya-

How would I go about doing that.  Since the main record will not get a permanent ID until it is synced with the server how do I get that information to place on the local image records before they are synced?

Looking for help on the flow

Thank You

Figured it out

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.