Visual Builder

Get Involved. Join the Conversation.

Topic

    Kalpesh Darji
    Custom login page in VBCS and query business object using...Answered
    Topic posted October 25, 2019 by Kalpesh DarjiGreen Ribbon: 100+ Points, tagged Business Objects, REST, Services 
    37 Views, 2 Comments
    Title:
    Custom login page in VBCS and query business object using REST API
    Summary:
    Custom login page in VBCS and query business object using REST API
    Content:

    Hi Shay,

    I would like to create custom login page with username and password in database. How can we proceed further? Can we use business function to achieve this or below link is the option to go?

    https://blogs.oracle.com/shay/conditional-navigation-based-on-queries-in-oracle-visual-builder-cloud-service

    Another question: How can we pass query parameter other than id in Rest endpoint of business objects? Is the ID as query parameter is limitation?

     

    Best Comment

    Shay Shmeltzer

    That blog is for the old Visual Builder.

    Today you can achieve this much easier with a simple call to the BO and filter based on the user/pass fields.

    To filter/query a business object you can use the filterCriteria as explained here:

    Create a Filter for Component Data                                     

    (Or you can use the q parameter for the get operation to specify a where clause for the query).

    Comment