Visual Builder

Get Involved. Join the Conversation.

Posts

  • Subba Bhamidipati
    502 Bad Gateway error while creating Service COnnection in...Answered7
    Topic posted November 29, 2018 by Subba BhamidipatiBronze Medal: 1,250+ Points, tagged REST, Services 
    Title:
    502 Bad Gateway error while creating Service COnnection in VBCS
    Summary:
    502 Bad Gateway error
    Content:

    Hi,

    We have some REST API's exposed for CRUD operations on DBCS tables using ORDS. We also applied trusted SSL on DBCS so that the HTTP calls from browser wouldn't be blocked. 

    Below is the sample GET REST URL and it works well in any browser. 

    https://ownerportal.solairus.aero/ords/solpdb/solairusprod/rest/tripDetailsByCat/10695

    However, when we use same GET URL in VBCS to create a service connection, it throws "502 Bad Gateway" error as shown below. And the error is "No trusted certificate found". We are sure that SSL cert we applied on DBCS is valid and that's why the browser is also not blocking the response.

    Any help would be appreciated. 

    {
        "type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
        "status": 502,
        "title": "Bad Gateway",
        "detail": "{\"type\":\"abcs://proxy_auth_problem/ssl/cert\",\"title\":\"SSL Certificate Error\",\"detail\":\"A certificate in the remote path is reported as invalid because of 'No trusted certificate found'\",\"status\":502}"
    }

    Image:
  • Mayank Srivastava
    Access Application or Flow level variables through java...1
    Topic posted July 23, 2019 by Mayank SrivastavaGreen Ribbon: 100+ Points, tagged Custom Code, REST, Services 
    Title:
    Access Application or Flow level variables through java script in VBCS
    Summary:
    Access and manipulate Application or Flow level variables through java script in VBCS
    Content:

    I have added few variables at application leven and flow level with session scope. I want to access or manipulate that variable values through my JS code in order in avoid writing the same code again and again. 

    For example: I am calling the rest endpoint in my action chain and I have set the parameters of that rest endpoint in those variables. Now i want to reuse the existing action chain with different paramters. One option is to create a new action chain and set those values again and other option which i am looking is to directly change the values of the variables through JS and call the action chain again.

    Please let me know the feasibility if that is possible and any reference which could be helpful.

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

  • M Sridhar
    Access-Control-Allow-Origin header issue with VBCS3
    Topic posted February 4, 2019 by M SridharSilver Medal: 2,000+ Points, tagged Custom Code, JET, Process, Services, UI, Validation, Web 
    Title:
    Access-Control-Allow-Origin header issue with VBCS
    Summary:
    Access-Control-Allow-Origin header issue with VBCS
  • Mahesh Beeravelli
    Accessing ORDS Rest API in VBCS with Internal Certificate15.0
    Topic posted June 19, 2018 by Mahesh Beeravelli, tagged REST, Services 
    Title:
    Accessing ORDS Rest API in VBCS with Internal Certificate
    Content:

    Hi,

     

    We are trying to create a rest api in ords and want to consume same in VBCS application through Service Connection > Define by EndPoint.

     

    Below is the rest API URL

    http://130.162.66.7/ords/ssopdb1/ssowsp/test3/alldata/data

     

    and we are getting the below error in VBCS while doing test on the connection.  We imported root cert in ICS instance as this VBCS is came along with ICS instance.

     

    {

        "type": "abcs://proxy_auth_problem/ssl/handshake",

        "title": "SSL Error",

        "detail": "A problem was reported making a SSL connection because of 'General SSLEngine problem'",

        "status": 502

    }

     

     

    Someone please help me with the above error.  Is there anyway we can add trusted certificates in VBCS.

     

    Thanks,

    Mahesh B

     
     
    Image:
  • Christopher Maggiulli
    Adding PCS Embedded UI Components as RequireJSAnswered45.0
    Topic posted October 4, 2018 by Christopher MaggiulliSilver Crown: 22,500+ Points, tagged Process, REST, Services, UI 
    Title:
    Adding PCS Embedded UI Components as RequireJS
    Content:

    I have a VBCS application that is connected to a process server (PCS).  I am able to use the embedded UI components via iframes because they are in the same identity domain.  However this has the downfaill of not being able to take full advantage of the embedded ui components (for example I cant change what happens when the submit button or approve/reject is clicked).  Basically is there a tutorial to show me how to use these in VBCS?  I have been able to get them to work on a regular apache httpd server, but I cant seem to configure them in VBCS.

    Version:
    18.3.5
  • 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:
  • Ahmet Bölük
    Batch Operations With Nested Objects1
    Topic posted April 10, 2019 by Ahmet Bölük, tagged Business Objects, Custom Code, REST, Services 
    Title:
    Batch Operations With Nested Objects
    Summary:
    Batch operations with nested objects
    Content:

    Hi everyone,

    I want to batch operations on business object in VBCS. 

    1)I should use nested objects for batch operation. Is there another way to create nested objects manually?

    2)How can I rollback when crud operations with failure?


    Simple Nested Object

    {
        "parts": [{
            "id": "part1",
            "path": "/Employee/101",
            "operation": "update",
            "payload": {
                "Salary": 10000,
                "id" : 1001,
                "email": "jack@dev.com",
                "personalInfo": {
                    "name": "Jack",
                    "address": {
                        "line1": "westwish st",
                        "line2": "washmasher",
                        "city":  "wallas",
                        "state": "WX"
                    }
                }
            }
        }, {
            "id": "part2",
            "path": "/Employee/102",
            "operation": "update",
            "payload": {
                "Salary": 20000,
                "id" : 1002,
                "email": "alex@dev.com",
                "personalInfo": {
                    "name": "Alex",
                    "address": {
                        "line1": "westwish st",
                        "line2": "washmasher",
                        "city":  "wallasx",
                        "state": "USA"
                    }
                }
            }
        }]
    }

    Related Links

    https://www.youtube.com/watch?v=jqqB5Cq00H8&t=1s
    https://docs.oracle.com/en/cloud/paas/app-builder-cloud/consume-rest/advanced-tasks.html#GUID-3F3F2D10-CF68-46D1-AF83-A52988CF817B 

     

     

     

  • Annalisa Alfieri
    Call a Rest service with parameters from a pageAnswered1
    Topic posted November 13, 2018 by Annalisa AlfieriRed Ribbon: 250+ Points, tagged REST, Services, UI 
    Title:
    Call a Rest service with parameters from a page
    Content:

    Hi team,

    do you have a tutorial/example showing how to call Rest service passing variables? Trying to build a search page and when I click on the Search button have to call a rest service passing it some parameters(filter criteria). The rest service is already defined under Service Connections and returns get_manyrecords.

    Any suggestions will be apreciated.

    Thanks.

    Version:
    18.3.3
  • Venkata Thota
    Calling parametrized REST url from VBCS25.0
    Topic posted July 1, 2018 by Venkata ThotaBlue Ribbon: 750+ Points, tagged Action Flows, Business Objects, Custom Code, Layout, REST, Services 
    Title:
    Calling parametrized REST url from VBCS
    Summary:
    Calling parametrized REST url from VBCS
    Content:

    Hi

    I have the below requirement

    1) Landing page has text box, button, table format for output.

    2) when I click the button, it will take the text from text box and call below url, and show the results below as table. Attached screen shot for reference.

    https://xxxxxxxxxx.oraclecloud.com:443/ic/api/integration/v1/flows/rest/BRM_GET_ACCOUNT_DETAILS/1.0/accounts/{accid}

    How to pass the input text to the above url accid? Also need to pass authentication to fetch the values from URL.

    It could be great if any javaScipt exist OR suggest any simple solution.

    Thanks

    Venkat..

    Image: