Original Message:
Sent: 04-15-2025 16:16
From: Pat Cooney
Subject: Menu Type Page
There is an example of this in the App-to-App Cookbook in our documentation: https://docs.truecontext.com/1374411/Content/Features/h3AppToAppForCentral/AppToAppCookbook/AppToApp_RecipeToOpenAndDispatch.htm
In that example it's using the name option rather than the tag option, but it works the same regardless of the option being used.
------------------------------
Pat Cooney
Community Engineer
TrueContext
community@truecontext.com
Original Message:
Sent: 04-15-2025 15:37
From: Scott Daly
Subject: Menu Type Page
Hi Cecily,
Absolutely, when you launch via the tag method you will be presented a list of the forms containing the tag. Once the user selects a form, any answer data will be dispatched into the form. Adding to the example above, it might look something like:
truecontext://x-callback-url/open?tag=Inspection&Work_Order=WO-12345&Asset_ID=SN-76454
------------------------------
Scott Daly
Senior Manager, Implementation Services
TrueContext
Original Message:
Sent: 04-15-2025 15:11
From: Cecily Stelly
Subject: Menu Type Page
Hey @Pat Cooney!
Tagging onto this question - is there a way to open a list of forms based on a tag list and then dispatch answers to the form they select? I know those are possible separately but have been discussing a use case where we would like to combine that functionality.
------------------------------
Cecily Stelly
Data Analyst
Varian
Original Message:
Sent: 03-04-2025 11:33
From: Pat Cooney
Subject: Menu Type Page
Hi Cliff,
Great question, and I've got a nice and simple answer for you. Instead of building a "main menu" style form, simply use the 'tag' option for the 'open' action in your x-callback-url function.
truecontext://x-callback-url/open?tag=Inspection
You'll need to tag all the forms you want to appear in this list with your project type (in this case it's "Inspection"). Once you do that and you use this app-to-app callback function it will open the TrueContext mobile app and display all the forms that have been tagged "Inspection", giving you that "main menu" list you're looking for.
Another option, though more time consuming but possibly an easier to manage solution in the long run, depending on the size and complexity of the forms you're working with of course, is to combine all these "Inspection" forms into a single form, and then use Conditional Logic to display or hide the questions/pages applicable to the work your technician is doing at the time.
Using the 'tag' option should do exactly what you're looking for though, and just so you have it as an easy reference, here is the documentation for all the options available for the 'open' action: https://docs.truecontext.com/1374411/Content/Features/h3AppToAppForCentral/AppToAppTechnicalDetails/AppToAppCallbackActionsAdditionalParameters.htm#open.
Give it a shot and let us know how it works out for you.
------------------------------
Pat Cooney
Community Engineer
TrueContext
community@truecontext.com
Original Message:
Sent: 03-03-2025 17:11
From: Cliff Deslatte
Subject: Menu Type Page
I have several forms that are related to the same "project" type (i.e. Inspections). Is there any way to create a 'Menu' type form which will launch when a barcode is scanned which will let them pick which action they are trying to perform? I already have the launching portion figured out via this example:
truecontext://x-callback-url/open?name=Inspection
In short, can you call a 'Main Menu' type form that will open other forms?
------------------------------
Cliff Deslatte
IT
Willamette Valley Company
------------------------------