Visual Builder

Get Involved. Join the Conversation.

Posts

  • Vishnu Mishra
    Event for Table Row Deselection1
    Topic posted October 17, 2019 by Vishnu MishraRed Ribbon: 250+ Points, tagged JET 
    Title:
    Event for Table Row Deselection
    Summary:
    Need to know if there's an event which is fired when a row is deselected in a table.
    Content:

    Hi,

    I have two queries:

    (1) Is there any event which is fired when a row in a table is deselected? I have a single-select table where selecting a row enables a button. However, deselecting a row, that is, when no row is selected in that table, should disable the button. Is there any event which can handle this? If no, is there any workaround for this?

    (2) Is it possible to automatically deselect a row whenever the use clicks somewhere else on the page, like on an empty space with no UI element?

    Regards,
    Vishnu

    Version:
    19.1.3.11
  • Venkata P
    How to get table data on click of a button and update some...1
    Topic posted October 17, 2019 by Venkata PGreen Ribbon: 100+ Points, tagged Custom Code, JET, Layout, UI, Web 
    Title:
    How to get table data on click of a button and update some columns in another table
    Summary:
    Get table data on click of a button and update some columns in another table
    Content:

    Hi All,

    I have the below requirement,

    1. I have a BC with name parameters and it is displayed in table with another new columns which are not part of BC fields as below

    • Name
    • Id
    • Type
    • Remarks --> This is a input text column which is not part of BC fields

    2. Now user will update multiple rows in the remarks column and click on save button on the bottom of the table

    3. Now these remarks should be updated to another BC named RemarkDetails with the remarks data inserted into it. Remarks details has below columns

    • Id
    • ParameterReportID --> This is same as ID in parameters BC
    • Remarks -> This is entered by user in the UI table 

    Ask is to how I can capture the table data in the webpage into a variable and loop over it and insert remarks into another BC ? 

    Thanks in Advance !!!

    Regards,

    Venkat P

     

     

      

     

     

    Version:
    19.3.1.2
  • Amitabha Dutta
    How to implement Checkbox Tree in VBCSAnswered4
    Topic posted October 14, 2019 by Amitabha DuttaRed Ribbon: 250+ Points, tagged JET 
    Title:
    How to implement Checkbox Tree in VBCS
    Summary:
    oj-tree-view in VBCS
    Content:

    I tried to implement Checkbox Tree in VBCS following JET component https://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=treeView&demo=checkbox
    Based on a hard-coded static JsonTreeDataSource, the tree got rendered, but I am not able to used the row.data.selected() function inside itemTemplate slot.
    Console log shows error:- Message: row.data.selected is not a function

    Can anyone through some insights on how to use the checkbox tree? I am uploading the sample application that renders the static tree.

     

    Version:
    19.3.1.2
    Document:
  • Pawan Gupta
    VBCS mobile app, embedding oracle digital assistant cloud...1
    Topic posted October 11, 2019 by Pawan GuptaRed Ribbon: 250+ Points, tagged JET, Mobile, UI, Web 
    Title:
    VBCS mobile app, embedding oracle digital assistant cloud skills
    Summary:
    VBCS mobile app, embedding oracle digital assistant cloud skills
    Content:
    Any guidance, reference or documentation to do following. Create mobile or pwa app in vbcs Embed web channel javascript sdk based oda skills Appreciate your help.
  • Muralidharan Kanagaraj
    NoFields5
    Topic posted October 11, 2019 by Muralidharan KanagarajRed Ribbon: 250+ Points, tagged Business Objects, Custom Code, Database, JET, Validation 
    Title:
    Search Criteria for particular user?
    Content:

    Hi,
    We have developed an application in vbcs 
    When logged into the application using username and password in which we get details related to that employee
    We use business object to get table data, service data provider for filterCriteria.(Please find image for ref)
    We have a search page in our application. 
    When we give values for search criteria it works fine, but when we click button without
    giving any criteria all the data are fetched.
    We need only data related to that particular user.
     
    How to achieve this.

    Image:
  • Abhilasha Singh
    Open Modal Dialog not working on second call from an action...Answered5
    Topic posted October 10, 2019 by Abhilasha SinghGreen Ribbon: 100+ Points, tagged JET 
    Title:
    Open Modal Dialog not working on second call from an action chain.
    Summary:
    Open Modal Dialog not working on second call from an action chain.
    Content:

    Requirement is to display values returned from a rest service in a dialog containing table with the details. this action is implemented on value change event of an input text. it works well for the first time. wherein for the second time it opens the dialog for a sec and gets closed with a warning. Below is the code snippet from JS and JET.

    JS: PageModule.prototype.openDialog=function(){
                  document.querySelector('#modalDialog1').open();
                  };
        PageModule.prototype.closeDialog = function(){
                  document.querySelector('#modalDialog1').close();
                  };

    JET: 

    <div id="dialogWrapper">
      <oj-dialog style="display:none" id="modalDialog1" dialog-title="Item" autoopen="false" dir="auto">
        <div slot="body">
    <div class="oj-flex">
      <oj-table summary="Sample Table" scroll-policy="loadMoreOnScroll" id="oj-table--1889302292-1" class="oj-flex-item oj-sm-12 oj-md-12" data="[[$page.variables.getItemsQueryListSDP]]" columns='[{"headerText":"ItemNumber","field":"ItemNumber"},{"headerText":"ItemDescription","field":"ItemDescription"},{"headerText":"OrganizationCode","field":"OrganizationCode"}]' selection-mode.row="single" selection-mode.column="single" on-first-selected-row-changed="[[$listeners.ojTable18893022921FirstSelectedRow]]"></oj-table>
    </div>
        </div>
        <div slot="footer">
          <oj-button id="okButton" on-oj-action="[[$listeners.buttonOpenerOjAction]]">OK
          </oj-button>
        </div>
      </oj-dialog>
    </div>

     

  • Ziv Rubin
    Unexpected Issue Flowing the Last VBCS update 19.3.1.2Answered3
    Topic posted October 6, 2019 by Ziv RubinBronze Medal: 1,250+ Points, tagged JET, UI 
    Title:
    Unexpected Issue Flowing the Last VBCS update 19.3.1.2
    Content:

    Hi All,

    What was working before the update is now presenting blank graph and giving some errors.

    Does anyone here implemented any of the links below and encounter with the same issues following the last VBCS update?

    1. https://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=chart&demo=zoomScrollTime
    2. https://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=dataVisualizations&demo=correlatedChart

    Thank you,

    Ziv

     

  • 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:
  • Abhilasha Singh
    How to set the value of columns of current row of table from...10
    Topic posted September 23, 2019 by Abhilasha SinghGreen Ribbon: 100+ Points, tagged Action Flows, Custom Code, JET, Layout, UI 
    Title:
    How to set the value of columns of current row of table from JavaScript.
    Summary:
    How to set the value of columns of current row of table from JavaScript.
    Content:

    My requirement is to have empty table on screen with ability to input text in few columns. on value change of first column an action change is defined that calls a rest service and returns records that are displayed in a popup. Based on selected record from popup few fields of the table needs to be set. I am trying to achieve this by calling a JS function from action chain. But I am unable to get access of the current row of the table.
     

  • Venkata P
    How To Play Videos / Embedded Videos in VBCSAnswered4
    Topic posted September 19, 2019 by Venkata PGreen Ribbon: 100+ Points, tagged JET, UI, Web 
    Title:
    How To Play Videos / Embedded Videos in VBCS
    Summary:
    How To Play Videos / Embedded Videos in VBCS
    Content:

    Hi All,

    We have a requirement to embedded videos and play them on clicking the video thumb nail icon.

    If anyone can provide us the way we can do it. 

    Thanks in Advance.

    Regards,

    Venkat P

     

     

     

    Version:
    19.1.3