Visual Builder

Get Involved. Join the Conversation.

Topic

    Christopher Maggiulli
    Adding busines object data fails when deployed to androidAnswered
    Topic posted September 14, 2018 by Christopher MaggiulliSilver Crown: 22,500+ Points, last edited September 25, 2018 by Arijit ChakrabortyBronze Trophy: 5,000+ Points, tagged Action Flows, Business Objects, Mobile, REST, Security, Stage / Publish / DevOps, Tip 
    108 Views, 5 Comments
    Title:
    Adding busines object data fails when deployed to android
    Content:

    I have a "Consumer" business object with the following fields:

    1. Name

    2. Age

    3. DOB

     

    I have a mobile application with two flow pages.  The start page has a form with three text inputs (name, age, dob).  I created a Business Type from the Post Consumer service.  I then created a variable of that type.   Each input field has a value bound to the consumer variable.  When the button is clicked I have an action that does two things.

    1. It calls the POST Consumer service and uses the consumer variable as it's post payload.  

    2. Navigates to the second flow page

     

    It works perfectly online in the emulator.  When I download it to my Google Pixel that submit button does not create the business object and does not move to the next page.  The app is set to anonymous access and there are no security rules on the business object.  

     

    Any idea what could be wrong here?

     

     

    Version:
    18.3.5

    Best Comment

    Shay Shmeltzer

    You need to set security on them and allow anonymous access.

    See:

    Using Anonymous Access on VBCS Applications

    By default the BO doesn't allow access with anonymous.

    Comment