Visual Builder

Get Involved. Join the Conversation.

Posts

  • Abhilasha Singh
    How to get an hour glass moving something similar that...2
    Topic posted 7:53 AM by Abhilasha SinghRed Ribbon: 250+ Points, tagged JET, Layout 
    Title:
    How to get an hour glass moving something similar that indicates that the application is waiting for search results
    Summary:
    How to get an hour glass moving something similar that indicates that the application is waiting for search results
    Content:

    How to get an hour glass moving something similar that indicates that the application is waiting for search results. right now is vbcs if I enter a value in a field it call a REST service and gets the result. meanwhile the screen looks like it is not doing anything. can we have an hour glass or similar icon to indicate that something is happening in the background.

    Appreciate your help

  • Venkata P
    How to update a text area using a Pop Up1
    Topic posted Yesterday by Venkata PGreen Ribbon: 100+ Points, tagged JET, Layout, UI 
    Title:
    How to update a text area using a Pop Up
    Summary:
    On clicking on text area a pop up should come up and update it
    Content:

    Hi All,

    Requirement : I have a table where the last column is a text area where user can enter some free text which can be more than 2 lines. But to have a better user experience we taught of opening a pop up on clicking of text area with a free text area and upon submission it should simply update it in the table text area column.

    I broke this task into below subtasks

    1. OnClick event open a dialog box -> No issues

    2. In the dialog box have a text area which is large enough -> No issues

    3. On clicking submitting text should update back to the table text box -> No sure how to update it to a particular it was clicked. -> Need help here.  

    Regards,

    Venkat P

    Version:
    19.3.1.2
  • vijay.kekane
    Display name instead of ID on main-start page1
    Topic posted November 1, 2019 by vijay.kekane Green Ribbon: 100+ Points, tagged Business Objects, JET, REST, UI 
    Title:
    Display name instead of ID on main-start page
    Summary:
    Display name instead of ID
    Content:

    Hi There,

    I have application with 3 pages, Main-Start, Main-Create, Main-Edit. Main-start is first page displayed when application is run. Data is created/saved using create page. Field "ledger" is shown on both pages. We use LOV for it, which show name but, store ID in VBCS BO.

    When application run it shows list of rows in main page (image of start-main is attached) using VBCS BO, We want to display name of ledger instead of ID.

    I am not sure which page level event will allow me to scan through each record to find name based on ID (using REST) and display name on Main-Start page.

    Thanks,

    Vijay

     

    Version:
    19.3.1.2
    Image:
  • aaina Khan
    Issue with dropdown - options taken from SDP
    Topic posted October 30, 2019 by aaina KhanRed Ribbon: 250+ Points, tagged Business Objects, JET, Services, UI 
    Title:
    Issue with dropdown - options taken from SDP
    Summary:
    Default value not getting loaded in dropdown when i take the options from an SDP
    Content:

    I have created a service connector (describe) for connecting a business object and the key and values from the BO would be taken to display options for a drop down. The dropdown is working fine. 

    But the real issue comes when I assign the Value of the drop down to a valid value from the results obtained from the above said SDP. For example if the option name is India and option value is IN, and I am setting the value attribute of the dropdown option (oj-select-one) to IN, the default value India should be displayed but its not. I am using similar  dropdown in the same page that will fetch value from some other similar service. It fetches and displays values correctly. Kindly help me to figure out what I made wrong. Am attaching the console data FYR.

    Attaching both which is behaving correct correctOne.png and wrong one wrongOne.png also.

     

    Image:
    Document:
  • Amitabha Dutta
    Implementing Row Expander in VBCS1
    Topic posted October 26, 2019 by Amitabha DuttaBlue Ribbon: 750+ Points, tagged JET, UI 
    Title:
    Implementing Row Expander in VBCS
    Summary:
    Not able to populate FlattenedTreeDataGridDataSource
    Content:

    Implementing Row Expander in VBCS

    I am trying to implement Row Expander with all rows expanded following https://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=rowExpander&demo=dataGridRowExpanderExpandAll.
    Somehow the FlattenedTreeDataGridDataSource is not getting populated though underlying JsonTreeDataSource seems to be populated correctly.
    Below is the export from console log:

    oj.FlattenedTreeDataGridDataSource {m_wrapped: oj.JsonTreeDataSource, m_options: {â¦}, data: undefined, _eventHandlers: Array(0), m_busy: false, â¦}
    variable.js:249 [VB (FINER), /vb/stateManagement/variable]: Updating variable dataSource to oj.FlattenedTreeDataGridDataSource {m_wrapped: oj.JsonTreeDataSource, m_options: {â¦}, data: undefined, _eventHandlers: Array(0), m_busy: false, â¦}data: undefinedm_busy: falsem_cache: Array(0)length: 0__proto__: Array(0)m_columns: undefinedm_expandedKeys: []m_fetchSize: 25m_maxCount: 500m_options: {}m_rowHeader: undefinedm_wrapped: oj.JsonTreeDataSource {data: oj._JsonTreeNodeDataSource, _eventHandlers: Array(2)}_eventHandlers: (3) [{â¦}, {â¦}, {â¦}]__proto__: oj.FlattenedTreeDataSource
    ---------------------------------
    actionChain.js:471 [VB (INFO), /vb/action/actionChain]: Chain setInitialTabSelection ending action step callComponentMethod1_wsyfyyro6 successfully (completed in 6 ms)
    ojflattenedtreedatagriddatasource.js:326 Uncaught TypeError: Cannot read property 'length' of undefined
        at oj.FlattenedTreeDataGridDataSource.getCount (ojflattenedtreedatagriddatasource.js:326)
    

    Can anyone provide any pointers to resolve the issue? I am attaching the sample application herewith for quick reference.

    Version:
    19.3.1.2
  • Venkata P
    Dialog box is auto closing and not opening againAnswered2
    Topic posted October 26, 2019 by Venkata PGreen Ribbon: 100+ Points, tagged JET, Layout, UI, Web 
    Title:
    Dialog box is auto closing and not opening again
    Summary:
    Page has a dialog box which opens on click of button and closing automatically
    Content:

    Hi All,

    My page has a dialogbox which opens on click of button. First it opens as expected. When you click on the button again it auto closes and never opens again.

    Could you let me know what went wrong here. Below is html code and and java script.

    HTML Code :

            <div id="dialogWrapper">
              <oj-dialog style="display:none" id="modalDialog1" title="Modal Dialog">
                <div slot="body">
                   The dialog window can be moved, resized and closed with the 'x' icon.
                   Arbitrary content can be added to the the body and footer sections.
                </div>
                <div slot="footer">
                  <oj-button id="okButton" data-bind="click: function() {
                      document.querySelector('#modalDialog1').close();
                    }">  OK
                  </oj-button>
                </div>
              </oj-dialog>
              <oj-button id="buttonOpener" data-bind="click: function() {
                  document.querySelector('#modalDialog1').open();
                }">
                Open Modal Dialog
              </oj-button>
            </div>

    Java Script:

    define([], function() {
      'use strict';

      var PageModule = function PageModule() {};

      return PageModule;
    });

     

     

    Version:
    19.3.1.2
    Image:
    Code Snippet:
  • Kalpesh Darji
    How to cover full screen for table having 5 columnsAnswered3
    Topic posted October 23, 2019 by Kalpesh DarjiGreen Ribbon: 100+ Points, tagged JET, Layout, UI 
    Title:
    How to cover full screen for table having 5 columns
    Summary:
    How to cover full screen for table having 5 columns
    Content:

    Hi All,

    How to cover full screen for table having 5 columns. 

    Code Snippet:
  • Abhilasha Singh
    How to assign repeating element of a variable with values...5
    Topic posted October 23, 2019 by Abhilasha SinghRed Ribbon: 250+ Points, tagged Custom Code, Groovy, JET, REST, UI 
    Title:
    How to assign repeating element of a variable with values from an array in the action chain
    Summary:
    How to assign repeating element of a variable with values from an array in the action chain
    Content:

    I have a variable based on REST endpoint that has repeating element in it that needs to be assigned from the rows of an ADP variable. How do I do that in action chain. I don't see for available in assign. if I use for each in the action chain how do I iterate the target variable to assign to next row in the loop. 

    Document:
    assign.PNG (33KB)
  • Mayank Srivastava
    Use of Oracle Offline Persistence Toolkit in visual builder...3
    Topic posted October 23, 2019 by Mayank SrivastavaGreen Ribbon: 100+ Points, tagged Custom Code, JET 
    Title:
    Use of Oracle Offline Persistence Toolkit in visual builder for Caching
    Summary:
    Use of Oracle Offline Persistence Toolkit for Caching
    Content:

    I have a auto suggest textbox on multiple pages of my application. Content to be displayed for autosuggest is preloaded with the application load and gets displayed. I have added the action chain at the application level since user can load any page directly so adding the action chain to home page will not work.

    Now the problem is that on each page change that action chain gets called which results in some latency. Is there a way we can use oracle offline persistence toolkit in such case that once the content is loaded then service is not called each time on page change.

    Please let me know if any more details are required.

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