Visual Builder

Get Involved. Join the Conversation.

Posts

  • Omar El-Elaimy
    WebViews for VBCSAnswered2
    Topic posted October 18, 2019 by Omar El-Elaimy, tagged Action Flows, Services, Web 
    Title:
    WebViews for VBCS
    Summary:
    I want to create a web view in a VBCS app to be used within my digital assistant.
    Content:

    Everything is good with the digital assistant component is good and done. Now my problem is in action chains and how to pass variables from a page to another in VBCS.

    I was following this tutorial:

    https://docs.oracle.com/en/cloud/paas/digital-assistant/tutorial-host-vb/index.html

    However, the problem is i can't find the FinancialDispute starter application for VBCS as the tutorial states. So I'm kind of doing everything on the app by myself.

    I need to know how the input texts (Name and amount) are loaded from the code that's written in the HTML index file.

    https://docs.oracle.com/en/cloud/paas/digital-assistant/tutorial-host-vb/img/vbcs_11.png

     

    Also, how to pass the radio set value chosen to the action chain of the button that has a module function with postbackURL and data to be submitted which is the radioset's value.

     

     

    Image:
  • David Archbold
    Unable to Create Service Connection to FA Services3
    Topic posted October 16, 2019 by David Archbold, tagged Services 
    Title:
    Unable to Create Service Connection to FA Services
    Summary:
    Create Service Connection raises 'The user is not authorized'
    Content:

    Running OIC-Classic version 19.3.1.190518.1400-28490

    Creating a Service Connection to the FA Instance registered in Settings, raises:

    Error loading FA Services

    Error: The user is not authorized

    The user account that is logged into OIC has the following roles in Fusion Applications:

    1) IT Security Manager

    2) Integration Specialist

    3) Role to use HCM REST Services

    The VB documentation does not detail what roles are required in FA to use this feature.

    Can anyone assist?

    Many thanks!

  • Rajeev Singh
    ADF Describe URL for SCM Resources2
    Topic posted October 16, 2019 by Rajeev SinghRed Ribbon: 250+ Points, tagged REST, SaaS Integration, Services 
    Title:
    ADF Describe URL for SCM Resources
    Summary:
    ADF Describe URL for SCM Resources
    Content:

    Hi,

     

    I am trying to create a Service Connection in VBCS using Define by Specification. I am selecting API Type as ADF Describe. Basically i want to describe all the resources in SCM Cloud by using below Service Specification. But I am getting error. Whereas ADF describe is working for CRM API's. It gives me all the resources.

    Am i missing anything for SCM resources?

    SCM - https://servername/fscmRestApi/resources/11.13.18.05/describe - Not working

    CRM - https://servername/crmRestApi/resources/11.13.18.05/describe - Working. Giving all the resources and I am able to select desired End Points

    Version:
    19.3.1
    Image:
  • Hugo Zandt
    How to make a VBCS login page that uses Oracle Identity...35.0
    Topic posted October 8, 2019 by Hugo ZandtGreen Ribbon: 100+ Points, tagged Action Flows, REST, SaaS Integration, Security, Services, Style, UI, Web 
    Title:
    How to make a VBCS login page that uses Oracle Identity cloud
    Summary:
    How to create a login page in VBCS that uses the default oracle identity cloud service to authenticate users.
    Content:

    Hello,

    Goal

    We would like to create a login page in VBCS that uses the default oracle identity cloud service to authenticate users. We want to customize the look and feel of the login page for only the users of one particular VBCS application.

    Approach

    • We have created the customized login page which contains text fields for username and password and a login button.
    • The login button has an action chain.
    • The userconfig in our app-flow.json is as follows (unaltered default values):

     "userConfig" : {

        "type" : "vb/DefaultSecurityProvider",

        "configuration" : {

          "authentication" : {

            "type" : "oraclecloud"

          }

        },

     

    Problem

    It is unclear to us how to configure an action chain that passes the username and password to the oracle identity cloud service to authenticate a user.

    We do not want to develop the actual authentication logic in VBCS, as was done in: https://cloudcustomerconnect.oracle.com/posts/6bc348535f and https://blogs.oracle.com/shay/conditional-navigation-based-on-queries-in-oracle-visual-builder-cloud-service .

    Question

    How to configure an action chain that passes a username and password to the oracle identity service to authenticate a user.

    Thanks,

    Hugo

     

    Version:
    19.3.1.2.
  • Ronald Konijnenberg
    Integrating with Process Cloud: how to add attributes while...4
    Topic posted September 25, 2019 by Ronald KonijnenbergGreen Ribbon: 100+ Points, tagged Action Flows, Process, REST, SaaS Integration, Services, Web 
    Title:
    Integrating with Process Cloud: how to add attributes while submitting a task
    Summary:
    We don't know how to submit attributes to a process instance while submitting a task from a visual builder web application.
    Content:

    Goal
    We'd like to use Process Cloud to control our business process and include both human- and automated tasks. We however don't want to use Process Cloud's integrated webforms for human tasks, but use a webapplication built in Visual Builder instead.

    Approach

    1. We built a process in Process Cloud containing some human tasks and published it.
    2. We built a webapplication in Visual Builder.
    3. We succesfully integrated the published process in our webapplication and are able to:
      1. Start new process instances from our Visual Builder webapplication.
      2. Show a table containing assigned human tasks in our Visual Builder webapplication.
      3. Fulfill human tasks from our Visual Builder webapplication, making use of the 'actions' defined in the activity properties in Process Cloud.

    Problem
    When fulfilling a task, we'd like to submit attributes to be used in the remainder of the process. We only found how to submit an 'action' when fulfilling a task, but not how to add attributes.

    Question
    How do we submit attributes together with the 'action' while submitting a task from our Visual Builder webapplication that communicates with Process Cloud?

    Example
    Fictitious example involving a manager and his/her secretary and the attributes 'restaurant' and 'price':

    • Manager starts a process instance from the company's webapplication that orders a secretary to come up with a dinner proposal for a business meeting.
    • Secretary gets a task to do so and sees this in the company's webapplication
    • Secretary opens tasks to see what the manager asks for.
    • Secretary picks a restaurant and  negotiates a price
    • Secretary enters 'restaurant' and 'price' in the company's webapplication and submits, fulfilling the task.
    • The manager gets an approval task showing the 'restaurant' and 'price'.
    Version:
    19.1.3
  • Guy Lior
    List Pagination with custom REST endpointAnswered4
    Topic posted September 24, 2019 by Guy LiorBlue Ribbon: 750+ Points, tagged Custom Code, Database, Mobile, REST, Services 
    Title:
    List Pagination with custom REST endpoint
    Summary:
    List Pagination with custom REST endpoint
    Content:

    Hi,

    I have custom REST API that support limit and offset parameters for pagination.

    How to implement list pagination with SDP and custom REST endpoint using the transform javascript function?

    Do I have to implement also list scrolling event ?

    Any working example or document?

    Thanks

  • Shakila Murugan
    How to access Curl Command using javascript in VBCS1
    Topic posted September 20, 2019 by Shakila MuruganBronze Medal: 1,250+ Points, tagged Custom Code, REST, SaaS Integration, Security, Services, Stage / Publish / DevOps, Web 
    Title:
    How to access Curl Command using javascript in VBCS
    Content:

    Hi Team,

    I want to get Access token from fusion, so i need to pass credentials via curl command.

    Please inform to me how to access Curl or If there any other way please let me know.

    Please find the below url for curl commands.

    https://docs.oracle.com/en/cloud/get-started/subscriptions-cloud/csimg/obtaining-access-token-using-self-signed-client-assertion.html

     

    Regards,

    Shakila

    Version:
    19.1.3
  • Shakila Murugan
    WSDL generate in VBCS application?3
    Topic posted September 16, 2019 by Shakila MuruganBronze Medal: 1,250+ Points, tagged Action Flows, Business Objects, Custom Code, Database, Services, Web 
    Title:
    WSDL generate in VBCS application?
    Content:

    Hi Team,

    We have developed an application in VBCS, in which we have business objects and we need to generate wsdl using that business objects data.

    How to achieve this?

    Thanks

    Version:
    19.1.3
  • Koushik Sen
    Getting Error in Calling SaaS Service using Cloud Account1
    Topic posted September 16, 2019 by Koushik Sen, tagged REST, Security, Services 
    Title:
    Getting Error in Calling SaaS Service using Cloud Account
    Summary:
    Getting Error in Calling SaaS Service using Cloud Account
    Content:

    Hi,

    I am trying to access a SaaS Service (InventoryOnhandBalances) from VBCS using ADF Describe. It is working fine with Basic Authentication Type.

    But when I select Authentication Mechanism as Cloud Account it is giving me Error as mentioned below:

    {
        "type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
        "status": 400,
        "title": "Bad Request",
        "detail": "{\"type\":\"abcs://proxy_problem/jwt/scope\",\"title\":\"Invalid service scope\",\"detail\":\"Cannot process service scope \\\"https://HOSTNAME/\\\" in IDCS, for URI \\\"https://HOSTNAME/fscmRestApi/resources/11.13.18.05/inventoryOnhandBalances?q=OrganizationCode%3D%27CA113%27%20and%20ItemNumber%3D%2701-01-01-000001%27\\\"\",\"status\":400}"
    }

    So do we need to do any configuration from VBCS side which i a missing. 

    Thanks in advance for your help.

  • Vishnu Mishra
    Using REST to Get Service Request by PrimaryContactPartyIdAnswered2
    Topic posted September 13, 2019 by Vishnu MishraRed Ribbon: 250+ Points, tagged REST, SaaS Integration, Services 
    Title:
    Using REST to Get Service Request by PrimaryContactPartyId
    Summary:
    Fetching/filtering records of Service Request object using PrimaryContactPartyId
    Content:

    Hi,

    I am fetching data -- records from Service Request -- from our Sales Cloud instance in VBCS. I created a service from the endpoint but I can't figure out how to get only those records where PrimaryContactPartyId = <some value>. I am getting all the records from Service Request but can't seem to filter the data. It'd be better if I can only fetch those records where this condition is satisfied instead of getting all the records. I watched these videos:

    https://blogs.oracle.com/vbcs/filtering-and-sorting-lists-in-vbcs-applications

    https://blogs.oracle.com/shay/filtering-list-results-from-a-rest-service-with-visual-builder

    Sadly, they didn't solve my issue. Any idea how this can be achieved?

    Regards,
    Vishnu

    Version:
    19.1.3.11