If we want to add the validation in table column while update the record quantity must me less than total quantity. how can we do that . thanks in advance
@sivasai7772
2 жыл бұрын
HI John, Thanks for sharing ur great knowledge and Is it possible to create report on basis of Department structure in Boxes..
@kramprabhu
3 жыл бұрын
How to do the same with Prev Next button?
@manishshokeen23
3 жыл бұрын
Instead of form id It is the oj-validation-group id which has to be used in isFormValid
@iamharnad
3 жыл бұрын
can you tell me where can i get the rest api endpoint?
@Ramikelesli
3 жыл бұрын
is there new post for the same since vbcs is now gen2
@mailtodanish
3 жыл бұрын
table level pagination 1,2,3..... at the bottom of table ?
@mailtodanish
3 жыл бұрын
Pagination for OSC Rest API, how transform work?
@leonardofallash9136
3 жыл бұрын
how can I custom the "required message" text?
@snehabhat4876
4 жыл бұрын
can someone tell me how to use this for form validation, username and password, for a specific credential?
@adityaanand4496
4 жыл бұрын
I am looking for answers for the same question. Did you find a way around??
@konasandeep
5 жыл бұрын
Hi @John, can you please show how to create a custom component and add that to a VBCS project
@dennismarzan5770
5 жыл бұрын
Hi @John, thank you for the tutorial. I'm curious about the API, is it created in oracle cloud or can it be hosted somewhere else?
@_juan_hernandez_
5 жыл бұрын
John, in the custom code, endDate is the name of the component, how is the name linked to the content of end date textbox? Thank you
@_juan_hernandez_
5 жыл бұрын
Nevermind, I just found out it is. Thank you
@adityaanand4496
4 жыл бұрын
@@_juan_hernandez_ Hey do you know how to create a simple login page which checks for the validity of data provided by user by matching it against data present in business object. It would be of great help. Thank you
@ayansaha5156
5 жыл бұрын
This works only on Business Objects created in VBCS. It is not working with SDP object of a Service Connection defined by Endpoint. Is there any work around? There is an option to "Enable filtering, sorting and pagination transforms " on them, but enabling it has 2 issues. One, with REST endpoints with authentication, whole data fails to load. Two, with REST endpoints without authentication, no change seems to happen even after enabling it. Below is the auto generated code: // // Example code, not for use in production environments. // define(['urijs/URI'], function(URI) { 'use strict'; var Request = function() {}; /** * Filter transform function * @param configuration * @param options the JSON payload that defines the filterCriteria * @returns {object} configuration object the url looks like ?filter=foo eq 'bar'. */ Request.prototype.filter = function(configuration, options) { var filterCriterion = options; function jetFilterOpToScim(fop) { switch (fop) { case '$eq': return 'eq'; case '$ne': return 'ne'; case '$co': return 'co'; default: console.warn('unable to interpret the op ' + fop); return null; } } function isEmpty(val) { return (val === undefined || val === null || val === ''); } if (typeof filterCriterion === 'object' && Object.keys( filterCriterion).length > 0) { if (filterCriterion.op && filterCriterion.attribute && !isEmpty( filterCriterion.value)) { var atomicExpr = {}; atomicExpr.op = jetFilterOpToScim(filterCriterion.op); atomicExpr.attribute = filterCriterion.attribute; atomicExpr.value = filterCriterion.value; if (atomicExpr.op && atomicExpr.attribute) { configuration.url = URI(configuration.url).addQuery({ filter: atomicExpr.attribute + ' ' + atomicExpr.op + ' ' + atomicExpr.value }).toString(); } } } return configuration; }; /** * Pagination function appends limit and offset parameters to the url * @param configuration * @param options the JSON payload that defines the pagination criteria * @returns {object} configuration object. */ Request.prototype.paginate = function(configuration, options) { var newUrl = configuration.url; newUrl = URI(newUrl).addSearch({ limit: options.size, offset: options.offset }).toString(); configuration.url = newUrl; return configuration; }; /** * Sort transform function * @param configuration * @param options the JSON payload that defines the sort criteria * @returns {object} configuration object. the url looks like ?orderBy=foo:asc */ Request.prototype.sort = function(configuration, options) { if (Array.isArray(options) && options.length > 0) { var firstItem = options[0]; if (firstItem.attribute) { var dir = firstItem.direction === 'descending' ? 'desc' : 'asc'; var newUrl = configuration.url; newUrl = URI(newUrl).addSearch({ orderBy: firstItem.attribute + ':' + dir }).toString(); configuration.url = newUrl; } } return configuration; }; var Response = function() { }; /** * Paginate Response Transform Function Implementation */ Response.prototype.paginate = function(result) { var tr = {}; if (result && result.body) { var cb = result.body; if (cb.totalCount) { tr.totalSize = cb.totalCount; } if (cb.totalCount >= 0) { tr.hasMore = !!cb.hasMore; } else { tr.hasMore = false; } } return tr; }; return { request: Request, response: Response }; });
@ShidhuRocks
5 жыл бұрын
How to open 'data manager(diagram)' in VBCS, where we can view the relationships?
@parashar1505
6 жыл бұрын
John, In the latest version of VBCS (as of date 23rd July), the filter criterion on line items doesn't work anymore. Is there a new way of doing it?
Пікірлер