Visual Builder

Get Involved. Join the Conversation.

Posts

  • Rajeev Singh
    Can we raise any event on click of menu items in...Answered2
    Topic posted November 8, 2019 by Rajeev SinghRed Ribbon: 250+ Points, tagged Action Flows, Tip, UI 
    Title:
    Can we raise any event on click of menu items in oj-menu-button
    Summary:
    Can we raise any event on click of menu items in oj-menu-button
    Content:

    Hi,

    I do not see any Event property for Menu Items under Menu button. I want to raise an Event on click of menu options. Is it not possible?

    For work around i have kept all my buttons under oj- menu button.

     

     

    Version:
    19.3.1
    Image:
    Code Snippet:
  • Mohammed Baig
    Best approach to expose custom database...Answered4
    Topic posted October 31, 2019 by Mohammed BaigGreen Ribbon: 100+ Points, tagged Custom Code, Database, REST, Tip 
    Title:
    Best approach to expose custom database objects/functionality as Rest service, to consume in VBCS
    Summary:
    Best approach to expose custom database objects/functionality as Rest service, to consume in VBCS
    Content:


    Experts,

    We need your help in identifying the best option to expose the custom database objects or custom functionality as a Rest service which can be consumed in VBCS application.

    1. ADF BC Rest - We don't have JCS at moment but if its best option we can get back to customer.
    2. OIC Integrations as Rest - Already subscribed along with VBCS
    3. ORDS - We have custom database of size 15gb 

    FYI, we have already developed an application which is in production now, where we used Oracle JET and ADB BC combination for another customer.

    For this new customer, we have adapted the VBCS and looking for best option to expose Rest services for custom db objects/functionality. 

    Appreciate your response with cons and pros for each of the above approaches Or any other approach apart from the above three. We don't have any skill set limitations.

    Thank you

  • Sudarshan Sharma
    Unable to download word Document file using Content and...2
    Topic posted September 23, 2019 by Sudarshan SharmaRed Ribbon: 250+ Points, tagged Tip 
    Title:
    Unable to download word Document file using Content and Experience Cloud Rest api in VBCS
    Summary:
    Unable to download word Document file using Content and Experience Cloud Rest api IN VBCS
    Content:

    Hi,

    i am using Content and Experience cloud service to store files/attachments from VBCS application. I can successfully upload a Text file and able to see the content while using CEC download Rest api inside VBCS.

    i am facing issue while downloading a word document file from CEC. since its response type is application/octet-stream.

    Is there any way i can display data for word document file as well in VBCS like how its working for text files..

     

    Version:
    19.1.3
  • Sunil Kumar
    VBCS QR CODE SCAN APP NOT WORKING using TakePhoto & jsQR3
    Topic posted August 26, 2019 by Sunil KumarRed Ribbon: 250+ Points, tagged Action Flows, Custom Code, JET, Layout, Mobile, Tip, UI, Web 
    Title:
    VBCS QR CODE SCAN APP NOT WORKING using TakePhoto & jsQR
    Summary:
    VBCS QR CODE SCAN APP NOT WORKING using TakePhoto & jsQR
    Content:

    Hi All,

    I am trying to build a simple mobile app to scan QR code , I have gone through some links & found about Take Photo feature of VBCS & jsQR lib. I tried to use them to build the app but some how not able to scan. Please find below the issue I am facing

    1. Firstly TakePhoto returns a blob (https://docs.oracle.com/en/cloud/paas/integration-cloud/visual-developer/takephoto-action.html) , but jsQR  expects a imageData object (refer here -- https://github.com/cozmo/jsQR)  ==> I tried to convert blob to base64 & base64 to imageData object using canvas but below code is returning null

    const code = jsQR(imageData, width, height, options?);
    

    console.log(code) // this is out put to null

     

    If any one has done this can you please share the correct approach/code please.

    Thanks in advance

     

    Regards

    Sunil

     

     

     

    Version:
    VBCS 19.1.3
    Code Snippet:
  • Nazeer Anantha
    Need to update Check box value in Table...Answered7
    Topic posted August 16, 2019 by Nazeer AnanthaBlue Ribbon: 750+ Points, tagged Action Flows, Business Objects, Custom Code, JET, Layout, REST, Services, Style, Tip, UI, Validation, Web 
    Title:
    Need to update Check box value in Table Variable(ArrayDataProvider)
    Summary:
    update required on ArrayDataProvider variable for CheckBox
    Content:

    Hi All,

    I have an Editable table, here editable data is populated based on the Variable of type ArrayDataProvider. I am able to update the text columns values in the variable. Text columns data is updating properly in ArrayDataProvider Variable.

    here the issue is, I have a checkbox column in the table. this checkbox value is also coming from ArrayDataProvider Variable only. when I do any changes on the checkbox, like select or deselect. The associated value is not updating in ArrayDataProvider Variable.

    I have followed the below link for Text columns update.

    https://www.youtube.com/watch?v=9j51yPE1YAw

    Checkbox code is:

    <oj-checkboxset id="cs1" value={{[ENABLED_FLAG]}} data-oj-context>
            <oj-option value="Y"  aria-label="ENABLED_FLAG"></oj-option>
          </oj-checkboxset>

    Please guide me how to update checkbox value in ArrayDataProvider Varaible.

     

    Thanks,

    Nazeer.

     

    Image:
    Code Snippet:
  • Ameur Baccoucha
    Bind a variable to default text select-one option ?9
    Topic posted August 16, 2019 by Ameur BaccouchaGold Medal: 3,500+ Points, tagged Tip, UI 
    Title:
    Bind a variable to default text select-one option ?
    Summary:
    The default-text concatenate the vlues of the variable each time the value change and not displaying it
    Content:

    Hi everyone;

    I am using a country filtre in my app with a select-one field.

    the default value and text of the fitre are a flow variable (in this way when i navigate between pages a conserve there values).

    I have a button to clear the text variable, when i click it the field display the contcatenation of all the pervious values that i selected. this is an image to make it more clear.

     

     

    Image:
  • Duha S
    Interactive Calendar3
    Topic posted August 5, 2019 by Duha SRed Ribbon: 250+ Points, tagged Composite Component, Mobile, Tip, UI 
    Title:
    Interactive Calendar
    Content:

    Hi,

    I am trying to add a calendar to my App with actions. The idea is I want to imitate the iPhone calendar behaviour so I can pass the date to the next screen to add an event. Is there any good resource for that?

    Regards,

    Duha

  • Ameur Baccoucha
    Running Visual Builder Apps On Other Servers45.0
    Topic posted July 8, 2019 by Ameur BaccouchaGold Medal: 3,500+ Points, tagged Stage / Publish / DevOps, Tip, Web 
    Title:
    Running Visual Builder Apps On Other Servers
    Summary:
    I wanna to run my VBCS app in my local server
    Content:

    Hi everybody,

    I want to run my application developed with VBCS on my local server.

    This blog of Shay Shmeltzer everything explained to do it.

    https://blogs.oracle.com/vbcs/running-visual-builder-apps-on-other-servers-and-on-premises

    I tried an example (POC) with all the steps of the blog and it works well.

    But for my application, I did not use the DevCS for build, but I tried to build it in a local machine. the job is working well but the application does not work.

    it is necessary to use the DevCS for build? if yes, why?

    and if not, what should I do?

  • Stephen Bryant
    How to Calculate a Running TotalAnswered3
    Topic posted May 20, 2019 by Stephen BryantBronze Trophy: 5,000+ Points, tagged Action Flows, Business Objects, Custom Code, Layout, REST, Tip, UI 
    Title:
    How to Calculate a Running Total
    Summary:
    Header Field to total the Line Amounts below
    Content:

    Hello,

    I have a page designed (attached) that includes a Header Section and Lines Section.  There can be many lines associated to one Header record.  I would like to obtain the total lines amount (e.g., a running total) and present it in a field on the Header.

    The Header is tied to a Business Object while the Lnes are assigned to an ADP.

    I've create a function and assigned that to the the Running Total field but it does not work.  The function cycles through the Array and totals the amount.  Here is the function:

     PageModule.prototype.amtArray = function(amtArray) {

        var newAmt = 0;

        for (var i = 0; i <= amtArray.length - 1; i++) {

          newAmt = newAmt + amtArray[i];

        }

        return newAmt;

      };

    The function is tied to the data field for the Running Total as:

    {{$functions.amtArray($variables.trxLinesArray)}}

    Any help is appreciated.

    Thanks,

    Steve

     

    Version:
    19.1.3
    Document:
  • aaina Khan
    Changing Messages titleAnswered1
    Topic posted May 6, 2019 by aaina KhanRed Ribbon: 250+ Points, tagged Action Flows, Tip, UI 
    Title:
    Changing Messages title
    Summary:
    How do I change the title of the Notification Messages showing
    Content:

    In action chain we have this Fire Notification action. The type there has 4 values. Error, Info, Warning and confirmation are the 4 types available there and the title for the popup also shows the same. I tried adding Category to the metadata but didn't help. 

    Is there anything i am missing?