Visual Builder

Get Involved. Join the Conversation.

Posts

  • Stephen Bryant
    Business Object Function - return array with multiple...2
    Topic posted November 13, 2019 by Stephen BryantBronze Trophy: 5,000+ Points, tagged Action Flows, Business Objects, Custom Code, Groovy, REST, SaaS Integration 
    Title:
    Business Object Function - return array with multiple records
    Summary:
    Business Object Function - return array with multiple records to pass to web service
    Content:

    Hello,

    I have BO called, TrxHdrs, with multiple records.  I know I can create a BO Object Function to iterate over those records.

    What I would like to do is write records that, for example, have a Status of, "available", to an array.  I want to write the entire record where the criterion is met.  Then I would like to pass the result (with multiple rows) to a web service (integration cloud) that sends it to ERP Cloud.  The only thing I need help with is how to create an array with multiple records in groovy.  The array will be structured to match what is expected by the web service.

    I am thinking each record would be a list with key-value pairs and many records would be contained within a "parent array". That would be the result to pass to the web service.

    In VBCS, I am able to iterate over and ADP and pass a single result to the web service successfully.  I am looking to do the same thing but get the data from the BO. 

    Any help is appreciated.

    Steve    

    Version:
    19.3.1.2
  • Kalpesh Darji
    Oracle commerce cloud integration with Oracle VBCS1
    Topic posted November 11, 2019 by Kalpesh DarjiGreen Ribbon: 100+ Points, tagged REST, SaaS Integration 
    Title:
    Oracle commerce cloud integration with Oracle VBCS
    Summary:
    Oracle commerce cloud integration with Oracle VBCS
    Content:

    Hi All,

    Currently i am integrating oracle commerce cloud(OCC) with VBCS via Oracle Integration cloud connector, which gives access to business objects.

    Is it possible to directly access OCC business objects from VBCS via "Service Specification" in VBCS? 

  • Vivek Pathak
    Integrating PaaS and SaaS1
    Topic posted November 6, 2019 by Vivek Pathak, tagged Business Objects, SaaS Integration 
    Title:
    Integrating PaaS and SaaS
    Summary:
    Application on VBCS based on data from Procurement Cloud
    Content:

    I am developing an application on VBCS which will have a dashboard which will have a section which will display quotes data in tabular form form from Procurement Cloud.

    Any suggestions?

  • Mohammed Kaja Nawaz L J
    Login and Logout fusion application from VBCS1
    Topic posted October 28, 2019 by Mohammed Kaja Nawaz L JBronze Medal: 1,250+ Points, tagged REST, SaaS Integration, Security, UI 
    Title:
    Login and Logout fusion application from VBCS
    Content:

    Looking for way to login and logout fusion application from VBCS screen by entering username and password of fusion application in VBCS.

  • Gabriel G Huo
    SSO between VBCS and Fusion ERP Cloud1
    Topic posted October 23, 2019 by Gabriel G HuoBronze Medal: 1,250+ Points, tagged Custom Code, SaaS Integration, Security, UI 
    Title:
    SSO between VBCS and Fusion ERP Cloud
    Summary:
    SSO between VBCS and Fusion ERP Cloud
    Content:

    SSO between VBCS and Fusion ERP Cloud, is this achievable? We want user only have to log into ERP Cloud, and from there we provide a link to VBCS certain pages, is that viable? Any referencing steps

    Thnanks

    Gabriel

  • vijay.kekane
    Patch to custom Object created in SaaS failAnswered85.0
    Topic posted October 23, 2019 by vijay.kekane Green Ribbon: 100+ Points, tagged Business Objects, Custom Code, REST, SaaS Integration 
    Title:
    Patch to custom Object created in SaaS fail
    Summary:
    Patch operation fail
    Content:

    Hi There,

    We have custom object created in financial cloud. This object's row need to be updated when data changes in VBCS screen. I am getting error "[VB (ERROR), /vb/helpers/rest]: The response specifies content type application/json, but unable to parse response as JSON. Reading response as text SyntaxError: Unexpected token I in JSON at position 0".

    Patch operation work good from postman so patch is allowed and I have valid response. Same patch operation also work when setting up REST endpoint in VBCS. However it does not work when update screen is used to update actual row.

    I have created new data Type based on REST endpoint to get response from REST operation. I am not sure reason for above error.

    Version:
    19.3.1.2
    Code Snippet:
  • Nazeer Anantha
    Access ERP Role in VBCS1
    Topic posted October 22, 2019 by Nazeer AnanthaRed Ribbon: 250+ Points, tagged JET, REST, SaaS Integration, Security, Services, UI, Validation, Web 
    Title:
    Access ERP Role in VBCS
    Summary:
    Access ERP Role in VBCS
    Content:

    Hi All,

    Is it possible to access the ERP role in VBCS?

    Note; I want to disable buttons on the VBCS screen based on the ERP role.

    Thanks,

    Nazeer.

  • 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