I am trying to update values of 1 multi select operation set to another using crm builder but multi select not showing in crm builder to update values can any one help me with this .
then please open an issue inside the repository with screenshots
thanks
I am using Current version of it but still faceing the issue
Hi,
if you have an issue with Dataverse REST Builder make sure to update to the latest version (is also available inside XrmToolBox if you prefer) that error can happen in earlier versions (before 1.0.0.9)
If you still get an error you can submit an issue to the GitHub repository github.com/.../DRB, please attach screenshots.
Thanks
i use this code but values not pass in multi select field instead of it get pass in text field name test.
i have requirment to pass the 1 multiselect field values from table sales to sales line multiselect field values .
//Multiselecttest
function Multiselecttest (executionContext) {
var formContext = executionContext.getFormContext();
debugger;
var UserId = Xrm.Page.context.getUserId();
var myuserid = UserId.toLowerCase().replace(/[{}]/g, "");
Xrm.WebApi.online.retrieveMultipleRecords("amy__salestbl", "?$select=amy__salestblid,amy__salesid,amy__salesproduct,_amy__user_value&$filter=_amy__user_value eq "+myuserid +"").then(
function success(results) {
console.log(results);
for (var i = 0; i < results.entities.length; i++) {
var result = results.entities[i];
// Columns
var amy__salestblid = result["amy__salestblid"]; // Guid
var amy__salesid = result["amy__salesid"]; // Text
var amy__salesproduct = result["amy__salesproduct"]; // Choices
var amy__salesproduct_formatted = result["amy__salesproduct@OData.Community.Display.V1.FormattedValue"];
var amy__user = result["_amy__user_value"]; // Lookup
var amy__user_formatted = result["_amy__user_value@OData.Community.Display.V1.FormattedValue"];
var amy__user_lookuplogicalname = result["_amy__user_value@Microsoft.Dynamics.CRM.lookuplogicalname"];
formContext.getAttribute("amy__saleslineproduct").setValue(amy__salesproduct );
formContext.getAttribute("amy__saleslineproduct").setValue(amy__salesproduct_formatted );
formContext.getAttribute("amy__test").setValue(amy__salesproduct_formatted );
alert(amy__salesproduct );
}
},
function(error) {
console.log(error.message);
}
);
}
IT is still showing error
Unable to parse the error, logged it inside the browser console
Hello,
Can you please provide screenshot of your field and screenshot of how it looks like in the "Dataverse Builder"?
Can you please explain what do you mean with "update fetch values"? Do you need to update or you need to fetch - I'm sorry but I don't understand what you're doing.
Its not showing the field that i created . i need a custom java script code to update fetch values from 1 entity to another
Hello,
Did you try the "Dataverse Rest Builder"?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156