Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't see the Saved View Layout XML #4

Closed
rappen opened this issue Jun 20, 2016 · 2 comments
Closed

Can't see the Saved View Layout XML #4

rappen opened this issue Jun 20, 2016 · 2 comments

Comments

@rappen
Copy link
Member

rappen commented Jun 20, 2016

@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.

@nzhome
Copy link

nzhome commented Jun 20, 2016

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.

@rappen
Copy link
Member Author

rappen commented Jun 20, 2016

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

@rappen rappen closed this as completed Jun 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants