Closed rappen closed 8 years ago
CRM is really really fussy with layoutXML, even though it is valid xml, there are a lot of limitations. for example you can inner join Connection to Account, but you can't inner join Account to Connection to Account to Contact. We need a way to validate the xml against the CRM xsd before uploading it to the server as a new System View. because 99 times out 100, CRM gives an error saying that your fetch xml is valid, but the layout xsd validation against your CRM 1:N N:N schema has failed. Its very easy to waste 9.9hours just to get 1 system view working, even though every single query contained valid fetch xml.
I really really suggest you find a proper MICROSOFT channel to ventilate frustrations over how the CRM platform works. Unfortunately you words here are wasted. I am not Microsoft, Innofactor is not Microsoft, XrmToolBox is not Microsoft. We build tools to help with an existing platform.
Try either or all of these: https://community.dynamics.com/crm/f/117 https://social.microsoft.com/Forums/en-us/home?forum=crm
@nzhome commented on Sat Apr 30 2016
I get a lot of errors to do with the LayoutXML when saving fetch queries, and there is no tool that can see and edit the advanced find savedquery layout xml. I picked up via google that your sourcecode has something fairly close. Can you please add a way to see the layout XML via FetchXML Builder. thanks. https://github.com/Cinteros/XrmToolBox.Plugins/blob/master/Cinteros.Xrm/Common/Forms/SelectViewDialog.cs qex.ColumnSet = new ColumnSet("name", "returnedtypecode", "fetchxml", "layoutxml"); txtFetch.Text = ((ViewItem)cmbView.SelectedItem).GetLayout();
@nzhome commented on Sat Apr 30 2016
Found it. under the View Layout Replicator plugin. double click a view row to display its layout xml.
Now I just need a way to Update the view with the new layout and new fetch xml that I made.
and even better would be a preview tool that can take the fetch xml and layout xml and process it on the test server to test it faster than; uploading, going into crm refreshing the screen, see an error, go back make a change, run again. that development process is too slow. need a way to update the fetchxml and layoutxml and press validate and see the result.
@nzhome commented on Sat Apr 30 2016
Also I created a couple of public system views that are corrupt, and I don't want to deactivate them, I want to delete them.. where is the tool in xrmtoolbox that allows me to fully delete?
I just want to delete the corrupt view, and sometimes I want to delete a duplicate View that I accidentally created with the same name. I don't want to deactivate it. because I want to keep the system clean.