I was trying out deviniti bundled field on one of my projects. It works beautifully in the backend. However, I get an error in the customer portal. This is the error I got
{"baseGroupId":{"fields":[{"id":"d816569b-7502-4e50-a7de-f7effabff031","name":"Base","type":"select","required":true,"showLabel":true,"options":[{"id":"e0643340-9a2d-48f5-9a28-84c966e70bfb","name":"Topside"},{"id":"eb3b38ca-ff31-42df-9989-ee80d15951bd","name":"Bayside"},{"id":"0087ee4a-37ba-42e4-a7cb-dd6aabe58a5a","name":"Seaside"},{"id":"1325bc31-f350-40f4-ad52-9fc5197f5e04","name":"Cliffside"},{"id":"5a120e9f-ca4d-4bd2-b776-9dee0c2c20f0","name":"Barricks"}],"value":"e0643340-9a2d-48f5-9a28-84c966e70bfb"},{"id":"d99b730e-ce90-40fa-860f-f83a1c9d17e7","name":"Building #","type":"text","required":true,"showLabel":true,"options":[],"value":"A2"},{"id":"33f611c3-d8ef-4c3d-81fd-491a75c79187","name":"Room #","type":"text","required":true,"showLabel":true,"options":[],"value":"207"}]}}
Does anyone know how to fix it?
Thank you!
Amy
That's not an error, that's how the field is stored in the database. You might need to update your plugin.
Exactly. Deviniti should review this and fix the way the field is presented on the customer portal. It shows the entire json structure, instead of formatting it properly. I had to do a lot of work to take the fields from the bundled field and display it on a comment properly. Example below, where #{Budget Confirmation} is the bundled field:
struct value{
string id;
string originid;
string name;
string type;
string required;
string showLabel;
string options;
string value;
}
struct fields{
value [] fields;
}
struct baseGroupId{
fields [] baseGroupId;
}
string json = #{Budget Confirmation};
baseGroupId cData;
cData = fromJson(json);
string ProjectNumber = cData.baseGroupId[0].fields[0].value;
string ProjectName = cData.baseGroupId[0].fields[1].value;
string ApprovedBudget = cData.baseGroupId[0].fields[2].value;
string GLcode = cData.baseGroupId[0].fields[3].value;
string GLperc = cData.baseGroupId[0].fields[4].value;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also met this problem, how to resolve?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please see documentation in the below link on the usage of Deviniti bundled fields, if this doesn't help, best you contact vendor support Documentation & support
Best!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.