Visual Builder

Get Involved. Join the Conversation.

Posts

  • Kashyap Raghavendra
    List of Values in Visual Builder Excel Plug in9
    Topic posted December 6, 2019 by Kashyap RaghavendraRed Ribbon: 250+ Points, tagged Business Objects, REST 
    Title:
    List of Values in Visual Builder Excel Plug in
    Summary:
    Setting filter in List of Value object based on the Excel cell value or by the referenced field name of the business object
    Content:

    Hi,

    Can the filter for the List of Values  of a field be set based on the value of an other field in the  in the table . 

    e.g. q=ID = $D2.Value to get value of D2 column in excel or by the  referenced column of the business object .

     

    Thanks and regards

    Kashyap

     

     

     

  • Abhilasha Singh
    Custom validators not firing on enter button2
    Topic last edited Yesterday by Abhilasha SinghRed Ribbon: 250+ Points 
    Title:
    Custom validators not firing on enter button
    Summary:
    Custom validators not firing on enter button
    Content:

    Hi Guys,

     

    We have an input field in which only certain patterns with numbers are expected. for this have used Javascript function in validator. it works well on tab if a wrong value/pattern is enter the fields becomes red and shows validation message. But, we click enter it doesn't fire the validation and goes to next line.

     

    Your inputs are greatly appreciated.

  • Himanshu Sethi
    Cursor is jumping at the last of form field when text is...
    Topic last edited 12:09 AM by Himanshu SethiBlue Ribbon: 750+ Points 
    Title:
    Cursor is jumping at the last of form field when text is typed in between.
    Summary:
    Using oj-input-text , cusror is jumping at the last on typing any character in between the form field.
    Content:

    Using oj-input-text , cursor is jumping at the last on typing any character in between the form field.

    Same thing is working when given <input> instead of <oj-input-text>

    I have used the below code JS where 'firstName' is the id for firstname form field.

    $("#firstName").on('input', function(){

        // store current positions in variables
        var start = this.selectionStart,
            end = this.selectionEnd;

        this.value = this.value.toLowerCase();

        // restore from variables...
        this.setSelectionRange(start, end);
    });

    But it is showing setSelectionRange() is not a function on using <oj-input-text>

    I have used below HTML code for field.

    <oj-input-text id="firstName" class="firstName requiredField" required="true" label-hint="[[ $application.translations.csp['CONTACT_US_FIRSTNAME'] ]]" 
                                data-bind="event: {keyup: setMaxLength(40),paste: setMaxLengthOnPaste(40)}"
                                value="{{ $variables.firstName }}"></oj-input-text>

    Please let me know if any other details are required.

    Thanks,

    Himanshu Sethi

    Image:
  • Anand Kankaliya
    Error while configuring Service Catalog for FA Service using...2
    Topic posted Yesterday by Anand Kankaliya, tagged JET, Services 
    Title:
    Error while configuring Service Catalog for FA Service using interface Catalog
    Content:

    while configuring the FA services using, getting error https://xxxxxx.fa.us2.oraclecloud.com/helpPortalApi/otherResources/latest/interfaceCatalogs. Connection initialization is successful.

    When tried to create a FA > FSCM/CRM, its giving below error 

    Failed to fetch contents from null, Error:404(Not Found). Attached image.

     

    Regards

    Anand Kankaliya

    Image:
  • Mayank Srivastava
    Load HTML content once vb enter event is completed1
    Topic posted Yesterday by Mayank SrivastavaGreen Ribbon: 100+ Points, tagged Custom Code, JET 
    Title:
    Load HTML content once vb enter event is completed
    Summary:
    Load HTML content once vb enter event is completed
    Content:

    I have a page with blank div tags and heading corresponding to that.

    I have added vb enter event which fetch data from the backend service and binds that data to the corresponding div's in my html page.

    Issue is when page loads blank div's with heading are visible for end user for few seconds till data is fetched from service.

    Do we have any options in vbcs to avoid loading page before the vb enter event. We don't have option to show some gif loader .

  • Sameer Shaik
    Git Pull and commit issue1
    Topic posted Yesterday by Sameer ShaikGreen Ribbon: 100+ Points, tagged Git 
    Title:
    Git Pull and commit issue
    Summary:
    Git Pull and commit issue
    Content:

    Hi All,

    How do we achieve the particular git commit version code in our local while pulling the git changes?

    How do we ignore few files not to be pushed to git from our local and ignore few files not to get pulled from git? 

    Thanks-Sameer.

     

  • Nagambika Anguraj
    How to implement pagination for <oj-table> which uses...2
    Topic last edited December 10, 2019 by Nagambika Anguraj, tagged Custom Code, JET, Style, UI, Web 
    Title:
    How to implement pagination for <oj-table> which uses Service Data Provider(SDP).
    Summary:
    How to implement pagination inside the <oj-table> and <oj-paging-control> using Service Data Provider(SDP) instead of Array Data Provider(ADP).
    Content:

    Used <oj-paging-control> within <oj-table> tag.

    The <oj-table> renders results from Service Data Provider.

    But as per mentioned in the JET Cookbook, the <oj-table> as well as the <oj-paging-control>  uses the Array Data Provider.

    In our application we use the following table with SDP:

    <oj-table id="oj-table-lov" class="oj-flex-item" data="[[$page.variables.listOfValuesBOListSDP]]" >    
        <oj-paging-control id="paging" data="[[$page.variables.listOfValuesBOListSDP]]" page-size="10" slot="bottom">
        </oj-paging-control>
      </oj-table>

    The usage of the above OJET code within the application gives the following error in the console:

    Uncaught (in promise) Error: oj-paging-control with id 'paging': Error while rendering component. TypeError: data.getPage is not a function
        at Object.throwError (ojcorebundle.js:6683)
        at createComponentCallback (ojcorebundle.js:6555)

    Please let me know how to implement Pagination using Service Data Provider(SDP)  instead of Array Data Provider(ADP).

    Version:
    1.0
    Code Snippet:
  • Syed Wamiq Iqbal
    Getting error while querying Custom Object fields using Rest...Answered6
    Topic posted December 9, 2019 by Syed Wamiq IqbalGreen Ribbon: 100+ Points, tagged Business Objects, Database, REST 
    Title:
    Getting error while querying Custom Object fields using Rest API
    Summary:
    Getting error while querying Custom Object fields using Rest API
    Content:

    I am trying to query an attribute by using dynamic URL parameter as shown in the link below,

    https://cloudcustomerconnect.oracle.com/posts/53769d8407?commentId=230235#230235

    but I get this error: 

    {
        "type": "HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
        "status": 400,
        "title": "Bad Request",
        "detail": "The attribute(s) [OrderNumber_c] are not queriable."
    }

    Version:
    11.13.18.05
    Image:
  • Shakila Murugan
    How to add decimal converter for oj-input text in VBCS?Answered5
    Topic posted December 9, 2019 by Shakila MuruganBronze Medal: 1,250+ Points, tagged Custom Code, JET, UI, Validation, Web 
    Title:
    How to add decimal converter for oj-input text in VBCS?
    Content:

    Hi all,

    I need comma separator in input text field i.e (48,987,987). I have tried below code in VBCS page but it shows error

    converter="{{ $page.functions.numericConverter($variables.Number) }}"

    JS: 
    PageModule.prototype.numericConverters= function(){
       var converter = new NumberConverter.IntlNumberConverter({
              maximumFractionDigits: 0,
              minimumFractionDigits: 0,
              minimumIntegerDigits: 2,
              style: 'decimal',
              useGrouping: true
            });
          };

    Regards

    Shakila Murugan

     

    Version:
    19.1.3
  • Rob Raftery
    Unable to start process from VBCS button action chain5
    Topic posted December 6, 2019 by Rob RafteryRed Ribbon: 250+ Points 
    Title:
    Unable to start process from VBCS button action chain
    Summary:
    500 Internal Server Error: processAliasNotFound
    Content:

    I have a very simple VBCS application with a single button.  The only action in the button action chain is to start a process.  I have successfully created a process alias which means I was able to see my process definitions.  I am also assigned as the owner of the process.

    However, when VBCS attempt the run the process I am getting the following error:

    Network:

    1. detail"Process Alias TokenSmokeTestProcess10 could not be found."
    2. o:errorCode"processAliasNotFound"
    3. status500
    4. title"Process Service Error"
    5. type"vbcs://process_service_problem"

    Console (image attached)

    FYI, I am able to run the process from Postman.

    Any ideas would be greatly appreciated.

    Thanks,

    Rob

     

    Image: