General Discussion

  • 1.  Menu Type Page

    Adopter
    Posted 03-03-2025 17:11

    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
    ------------------------------


  • 2.  RE: Menu Type Page

    Staff
    Posted 03-04-2025 11:33

    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
    ------------------------------



  • 3.  RE: Menu Type Page

    Adopter
    Posted 9 days ago

    Thank you. I will give it a try.



    ------------------------------
    Cliff Deslatte
    IT
    Willamette Valley Company
    ------------------------------



  • 4.  RE: Menu Type Page

    Adopter
    Posted 3 days ago

    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
    ------------------------------



  • 5.  RE: Menu Type Page

    Staff
    Posted 3 days ago

    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
    ------------------------------



  • 6.  RE: Menu Type Page

    Staff
    Posted 3 days ago

    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
    ------------------------------



  • 7.  RE: Menu Type Page

    Staff
    Posted 3 days ago

    Here's another link where you can find more information about our App-to-App functionality: Get Started with App‑to‑App Communication



    ------------------------------
    Karen Cann
    Technical Communications Manager
    TrueContext
    ------------------------------



  • 8.  RE: Menu Type Page

    Adopter
    Posted 2 days ago

    Oh perfect! Thanks so much! Excited to test this in our workflow 



    ------------------------------
    Cecily Stelly
    Data Analyst
    Varian
    ------------------------------



Reminder: Content posted to our Community is public content.  Please be careful not to post Intellectual Property that you do not have permission to share.  For more information please refer to our Terms Of Use