Visual Builder

Get Involved. Join the Conversation.

Posts

  • Vishnu Mishra
    $page.variable is null7
    Topic posted October 1, 2019 by Vishnu MishraRed Ribbon: 250+ Points, tagged JET 
    Title:
    $page.variable is null
    Summary:
    $page.variables is null When Table Row is Selected
    Content:

    Hi,

    I have a oj-table on my homepage with a first-selected-row event on which I am assigning some variables through the Assign Variables action. When the application is first run, everything runs fine. However, when I go to a different page and navigate back to the homepage and select a row in the table, I get the $page.variables is null error. I'm also assigning a flag on the selection of the table's row which conditionally enables a button. As a result, this completely messes up the application's flow. I am attaching a GIF to illustrate my point (sorry about the small size). Any solutions for this?

    Regards,
    Vishnu

    Image:
  • Stephen Bryant
    *** Solved *** Getting the Label on an LOV to pass to REST...
    Topic posted April 25, 2019 by Stephen BryantBronze Trophy: 5,000+ Points, tagged Layout, REST, SaaS Integration, UI 
    Title:
    *** Solved *** Getting the Label on an LOV to pass to REST Service
    Summary:
    Accessing the Label on an LOV to collect in a Variable
    Content:

    Hello,

    I've created a VBCS application that takes data from the page variables and passes them (as the payload) to a web service to move to ERP via integration cloud.   It all works fine but I am having an issue with the LOV fields.  I am only able to collect the Id's of the fields and not the label values.  I am aware of the oj-options-keys and they do appear to be there in 19.1.3.  However, can someone tell me how to get to the label values to pass to the web service?  Do we still need to do the workaround that Shay mentions in his blog for LOVs?  Or does the current version somehow allow access to the labels via syntax, etc.?

    As an example, I have the follow label and id pair:

    ID     TransType

    2       Appropriation

    I would like to be able to access the value, "Appropriation".

    ***Update****

    Never mind.  I used Shay's approach and I am fine.  It was very easy and I was just being lazy!!!

    oops!!!

    Thanks,

    Steve

     

    Thanks,

    Steve

    Version:
    19.1.3
  • ninian1927
    2 different response types from REST endpoint, how to...10
    Topic posted October 11, 2019 by ninian1927Red Ribbon: 250+ Points, tagged Action Flows 
    Title:
    2 different response types from REST endpoint, how to account for this?
    Content:

    Hi,

    I am creating a login page which calls a POST REST endpoint. I have create a type from the response when the login is successful, I receive a lot of data back about the user along with a token. However, if the authentication is not successful the response has completely different variables. Currently on my action for a button I have the call REST endpoint linked to the responseType of a call that is successful. However, if the login is not successful then those values aren't available to this responseType as they are stored in a different type. 

    Am I missing something obvious here? 

  • Dipak Chhablani
    401 Authorization Required Error while calling Business...65.0
    Topic posted July 16, 2018 by Dipak ChhablaniRed Ribbon: 250+ Points, tagged Business Objects, REST 
    Title:
    401 Authorization Required Error while calling Business Object REST API in Postman
    Content:

    Hi Team,

    I am getting 401 Authorization Required Error while calling Business Object REST API in Postman. Please find the below screenshot.

    Please also find VBCS settings screenshot. I tried enabling/disabling "Enable basic authentication for business object REST APIs" but the results is same.

    We are getting the same while calling VBCS rest API in PCS.

    Thanks,

    Dipak.

    Image:
  • Vishnu Mishra
    401 When Importing Applications
    Topic posted September 17, 2019 by Vishnu MishraRed Ribbon: 250+ Points, tagged REST 
    Title:
    401 When Importing Applications
    Summary:
    Getting 401 Unauthorized Error on REST Calls in Imported Projects
    Content:

    Hi,

    I'm new to VBCS. I am using the DCS 19B template for my application. My application is connected with our Sales Cloud instance and I'm using my own user credentials to authenticate the REST calls. I created an application using the template and everything was working fine so I exported the project. But now, after I import it, none of my REST calls work. On checking the network tab of my browser, I see that every call returns the 401 error even though I am still logged in with same user. This only happens with the imported projects. How can I rectify this?

    Regards,
    Vishnu

    Version:
    19.1.3.11
  • Russell Sarkis
    411 Length Required response2
    Topic posted June 4, 2019 by Russell Sarkis, tagged REST 
    Title:
    411 Length Required response
    Summary:
    Length required in POST request. Content-Length header seems to be stripped by proxy
    Content:

    I'm sending a POST request to the following service using basic authentication.

    https://cegbusc-p6.oracleindustry.com/sync/rest-service/dataservice/runquery?configCode=syncP6

    I receive the following response:

     "type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
     "status": 411,
     "title": "Length Required",

    When checking the response header it seems that content-length is not a permitted header when using the proxy.

    vbcs-proxy-blocked-headers: Content-Length

    Is this in fact the case and is there any way around this issue?

    NOTE:  I am able to successfully POST this request through Postman.  It adds the content-length header by default.

    Version:
    19.1.3
  • 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:
  • Vidhya Valantina Venkatesh
    A List of ediable items is being displayed in a JET...45.0
    Topic posted June 6, 2018 by Vidhya Valantina VenkateshSilver Medal: 2,000+ Points, tagged Composite Component, JET, Layout, Mobile, Style, UI 
    Title:
    A List of ediable items is being displayed in a JET Collapsible element. However, on each navigation after the edit of single item in that collapsible element, the expanded collapsible item collapses.
    Summary:
    The expanded collapsible item if it closes for each item's edit, it is frustrating to expand the element and then edit the next item. The updated values are correctly being displayed upon re-expanding
  • Deepikajain
    ABCS and FTP cloud server65.0
    Topic posted April 25, 2017 by Deepikajain Red Ribbon: 250+ Points 
    Title:
    ABCS and FTP cloud server
    Summary:
    ABCS and FTP cloud server
    Content:

    Hi

    Our requirement is to store the contents of a CSV file (which will be uploaded on a cloud FTP server) on DBCS or the database of ABCS and  then display the contents of the file on a ABCS UI. Is it possible to achieve this? If yes, can somebody please give some guidance.

    Thanks

    Deepika

  • Duane Erautt
    ABCS and SOAP Web Services15.0
    Topic posted May 15, 2017 by Duane Erautt 
    Title:
    ABCS and SOAP Web Services
    Summary:
    ABCS and SOAP Web Services
    Content:

    Is it possible to consume SOAP web services from within ABCS? For example, some Oracle SaaS services such as Supplier Negotiation (Sourcing Module) are only available via SOAP. Can this be done via JavaScript?  If so, is there some sample code that I can refer to?

    Thank you!