Posts

Posts

  • Digvijay Chauhan
    OIC connection to Database VM on Cloud45.0
    Topic posted September 27, 2019 by Digvijay ChauhanBronze Trophy: 5,000+ Points, tagged Adapters, Cloud, Database, Integration in Integration > Integration public
    Title:
    OIC connection to Database VM on Cloud
    Summary:
    Multi tenancy connection
    Content:

    Hi All,

    I have OIC in one Cloud tenant and Oracle databse VM on different Cloud tenant. Both of them are in OCI bit on different tenants, What would I need to establish a connection from OIC to Database and vice-versa.

    Thanks

    Dvi

  • Ronald Konijnenberg
    Internal server error 500 when creating a complex business...1
    Topic posted September 26, 2019 by Ronald KonijnenbergGreen Ribbon: 100+ Points, tagged Action Flows, Business Objects, Database, REST, Security, Web in Application Development > Visual Builder public
    Title:
    Internal server error 500 when creating a complex business object using REST call
    Summary:
    Internal server error 500 when creating a complex business object using REST call.
    Content:

    Goal
    We would like to store a page variable, whose type is based on the POST request of the REST endpoint of one of our business objects, in our businessobjects. The business object is a complex type referencing another business object, that in its turn references two other business objects. See attached Image.

    Approach
    We've recreated our approach in an example application which produces similar behaviour:

    1. We defined a request and response type based on a 'complex' business object. In the example app this is the "Driver" object.
    2. We've set appropriate values in pages variable and assigned those to the newDriver variable which is based on the request type. The request variable contains a new driver, new combination of a new trailer and a new truck (we do not want to use existing trailer and truck objects in this scenario).
    3. In an action chain we added a REST call action which performs a POST on the businessobject's REST endpoint. We assign the page variable newDriver to the body of the POST call.

    Problem

    1. We get an internal server error (500) when we attempt to post the driver_request variable. Error details show numerous exceptions, all showing:

    arguments: [Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (<anonymous>:2:14)]

    This looks similar to the error discussed in post: https://cloudcustomerconnect.oracle.com/posts/a1e366f640 this post however does not present a solution.

    1. When we try to store only the 'combination' object within the driver_request variable, by calling the Combination endpoint instead of the Driver endpoint, we do NOT get this error. However, 'trailer'  and 'truck' object are saved successfully and ID's are generated, but these generated ID's are not used as foreign keys in the new 'combination' object and results in an empty Combination object.

    Question

    1. How can the internal server error be resolved?

    2. How can we make sure that the foreign keys of the Trailer and Truck are also stored when the Combination is being created?

    Example

    See attached file for an example project that contains two buttons to reproduce these two problems.

    Version:
    19.1.3
    Image:
  • 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 in Application Development > Visual Builder public
    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

  • Vijayakumar Jayamani
    Whether VBCS can pull from any of database?Answered2
    Topic posted September 19, 2019 by Vijayakumar JayamaniRed Ribbon: 250+ Points, tagged Database, Web in Application Development > Visual Builder public
    Title:
    Whether VBCS can pull from any of database?
    Summary:
    Can we build custom form based on database data?
    Content:

    Would like to understand whether we can build custom application based on data resides in Database like Oracle Database, DB2, sql etc..

    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 in Application Development > Visual Builder public
    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
  • Digvijay Chauhan
    OIC Timeout connecting to Database on Cloud5.0
    Topic posted September 11, 2019 by Digvijay ChauhanBronze Trophy: 5,000+ Points, tagged Adapters, Agent, Database, Integration in Integration > Integration public
    Title:
    OIC Timeout connecting to Database on Cloud
    Summary:
    OIC Timeout connecting to Database on Cloud
    Content:

    Hi All,

    I have heard new DB adapter is being rolled out that won't need an agent to be installed on Cloud DB, Does that mean that DB agent timeout of 240 seconds won't be valid going further?

    Have any have tried this new DB adapter?

    Thanks

    Dvi

  • Muralidharan Kanagaraj
    How to download uploaded file in button action?4
    Topic posted September 3, 2019 by Muralidharan KanagarajRed Ribbon: 250+ Points, tagged Business Objects, Custom Code, Database, UI in Application Development > Visual Builder public
    Title:
    How to download uploaded file in button action?
    Content:

    Hi All,

    We have file upload functionality in our VBCS page. 
    Uploaded file will be of in any format i.e (PDF, txt, Document, excel, image etc.) we show that file in table as shown in below image.
    We get the upoladed file as a link(URL) in a column and we display the link as a button for the good UI. When we click that button, that uploaded file gets downloaded.
    i.e when we click a button that uploaded file has to be downloaded.

    Is it possible to downolad the file in the same uploaded format?

    Thanks

    Version:
    19.1.3
    Image:
  • Nirmal Kumar
    How to catch the error message in response of Fault Details2
    Topic posted August 20, 2019 by Nirmal KumarRed Ribbon: 250+ Points, tagged API, Cloud, Database, E-Business Suite, Integration, REST in Integration > Integration public
    Title:
    How to catch the error message in response of Fault Details
    Summary:
    How to catch the error message in response of Fault Details
    Content:

    Hi All,

    I had an unhandled error in one of my integration. Please see the highlighted in my attachment.

    I want to capture the exact error message coming in the response of Fault and store it in a custom table. Is it possible to extract the message detail from response under error handling? Please advise.

     

    Thanks,

    Nirmal

    Document:
  • Arunkumar
    Oracle DBaaS Adopter to ATP Adopter Migration95.0
    Topic posted August 6, 2019 by ArunkumarRed Ribbon: 250+ Points, tagged Adapters, Database in Integration > Integration public
    Title:
    Oracle DBaaS Adopter to ATP Adopter Migration
    Summary:
    Oracle DBaaS Adopter to ATP Adopter Migration
    Content:

    Hi All,

     

    We are in the process of Upgrading the Classic Database to ATP Cloud Service. In this DB, we have an OIC Integrations Tracking tables.

    Now we have connected to ATP through ATP adopter. change in the adopter requires all integration to be rebuilt.

    Is there any alternative solution to migrate the integration without changing the mapping for the Oracle DBaaS adopter to ATP adopter?

    Thanks in Advance.

    Arun

     

     

    Version:
    Autonomous Oracle Integration Cloud Service
  • Karthik Ramachandran
    Run a select clause in ATP database with 'in'...45.0
    Topic posted August 5, 2019 by Karthik RamachandranRed Ribbon: 250+ Points, tagged Database, Integration, PaaS, REST in Integration > Integration public
    Title:
    Run a select clause in ATP database with 'in' Operator using OIC ATP Adapter
    Summary:
    Run a select clause in ATP database with 'in' Operator using OIC ATP Adapter
    Content:

    Hi,

    RestAPI structure : 

    {

    'accountNum' : '123456'

    'product' : ['abc','def','ghi']

    }

    I can receive multiple product name in rest api, i need to concatenate the array like this ('abc','def';'ghi') and which i was able to do using XSL concat & create-delimited-string function. i can see the same when i log the same function in logger. But when i pass that variable the ATP adapter to run a query like this.

    Select accountid, accountName, productid, price from producttable where productname in #productname

    it should work similar to below query which i run in ATP db directly

    Select accountid, accountName, productid, price from producttable where productname in ('abc','def';'ghi')

    But it is not retrieving any record. same query work fine in ATP database but it doesn't work from OIC. Do OIC doesn't support 'in' operator in select statement?