Hy Aric no, i have not install the license for CozyRoc on server. can i do without purchasing?
↧
Forum Post: RE: excution of SSIS package fail from Sql server 2017
↧
Forum Post: RE: Custom Workflow that re-assigns Owner has suddenly stopped working
Hi Guido, Thanks for your reply. I see the error is "owner was not provided", but the issue is that suddenly the PreparedBy comes across as null in the custom workflow step every time, whereas before it was getting populated with a user's full name every time. Any idea what might be causing this or how I can fix it? I tried adding a "Waiting until 'PreparedBy' contains data" step, but that did not work. The "PreparedBy" text field is populated in the CRM record, but the error still occurs.
↧
↧
Forum Post: RE: Custom Workflow that re-assigns Owner has suddenly stopped working
the "wait until" has no use, the reason is that there isn't a system user with the text provided var results = CrmService.RetrieveMultiple(QEsystemuser); this does not return a single element, because you are setting the Message, did you try to check what it contains? you can create a note for example and put inside the note body the content of Message outparameter
↧
Forum Post: RE: Custom Workflow that re-assigns Owner has suddenly stopped working
Guido, How would I create a note that puts the note body of the content of the message outparameter? Thanks!
↧
Forum Post: RE: Custom Workflow that re-assigns Owner has suddenly stopped working
you can use a "Create" step, selected Annotation as entity and inside the body (or the title) you put the value of the outparameter Message do this step before the assign opportunity, otherwise it will not be created (or better remove the assign step for a moment)
↧
↧
Forum Post: I am trying to write a plugin which has to search through files in sharepoint and return path. For I need to use assembly -- "'Microsoft.SharePoint.Client.Search, Version=16.1.0.0," But error says,above assembly could not be loaded.
I am trying to write a plugin which has to search through files in sharepoint and return path. For I need to use assembly -- "'Microsoft.SharePoint.Client.Search, Version=16.1.0.0," How ever I am getting the below error. Unhandled exception: Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault] Message: An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute): Sharepoint_searchkeyword.searchkeyword: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint.Client.Search, Version=16.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.Detail: 1fdb3743-9e2d-42df-a863-a99eedf6c9d0 -2147220956 An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute): Sharepoint_searchkeyword.searchkeyword: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint.Client.Search, Version=16.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified. 2019-06-21T05:58:59.2544432Z false [Sharepoint_searchkeyword: Sharepoint_searchkeyword.searchkeyword] [a1ff1324-e893-e911-a825-000d3a47c8cb: Sharepoint_searchkeyword.searchkeyword: Update of lvt_searchprofiles]
↧
Forum Post: RE: I am trying to write a plugin which has to search through files in sharepoint and return path. For I need to use assembly -- "'Microsoft.SharePoint.Client.Search, Version=16.1.0.0," But error says,above assembly could not be loaded.
if it is an online instance (meaning you can only register the assembly in sandbox) the alternatives are two: 1) try to merge the assemblies with ILMERGE (there are guides to do this for dynamics plugins as you need to keep consistent the signing) 2) create a public reachable webservice to perform the action and inside your plugin you call the webservice and return the results
↧
Forum Post: RE: I am trying to write a plugin which has to search through files in sharepoint and return path. For I need to use assembly -- "'Microsoft.SharePoint.Client.Search, Version=16.1.0.0," But error says,above assembly could not be loaded.
I don't think you can use any external libraries with plugins. You can use ILMerge and merge them in but you loose Microsoft support as they are not going to touch your solution if you have used ILMerge by my experience. Another approach is to create a HTTPS service that can offload the logic. We use Azure Functions and establish a secure connection where the Azure Function query the external resource with the external library. Hope this helps.
↧
Forum Post: How to disable error messages
Hi, our CRM has been pen tested and one issue identified as a gap was "information disclosure". The testers claimed, that the error messages returned to a user, e.g. if a user is missing privileges, contains to much information, like the stack trace a.s.o. They said we should deactivate these kind of error messages. Unfortunately I did not find any documentation, how to do that? My idea would be to disable these kind of error messages, so that they are not displayed to the users and instead turn on tracing on server side on at least error level, where we then would have to look for such errors, if users are having issues. Of course I would setup some maintenance plans to zip/archive/delete these logs in regular intervals. Any feedback about that issue would be highly appreciated ;) thx Thomas btw: we are on 8.2.3 on prem
↧
↧
Forum Post: Can I block page reloading or redirection using web resource?
I want to stop dynamics from taking action to switch to a different view if a flag is true. Eg: var blockReload = true; So if blockReload is true than I want to block redirection and show a popup instead "Are you sure? ". And only after clicking the button "Yes" I want the process to continue or else block the flow from redirecting to a different page.
↧
Forum Post: RE: How do I get WorkFlowActivityBase class?
I don't know WorkFlowActivityBase entity, but if you work with C# like it seems you do you could download the "proxy" class from your solution. It's probably an entity in your solution, that's why you can't find it in any nugets. We use XrmToolkit , but there are tools from Microsoft as well. With XrmToolkit (or any tool), you will be able to connect and download "class" files of your entities, and its there i guess WorkFlowActivityBase comes from.
↧
Forum Post: Need to add button in ribbon
Hi Guys, Thanks for your all previous informations and it will be very useful. I have created new entity called credit card application form and now I need to add approve button in ribbon and once I select the button the form status should changed to Approved and same for reject process. I have added the button in ribbon but don't know how to add that functionality. Please guide me to do this. Thanks & Regards, Suresh K
↧
Forum Post: Can I save the subgrid within the main form when I save the main form ?
I want the unsaved data in the subgrid to be saved when the main form in dynamics is saved. I have tried using formContext.getControl() function to get available function for subgrid. But there is no function that allows me to save the subgrid.
↧
↧
Forum Post: RE: Need to hide all views for the entity except one for a particular user.
Hi there, thanks. It seems that xml code seems working, although I do need little understanding of this query. But for now all ok. I do want to ask what if to particular user I just need to show 3 views. I Tried repeating this { ConditionExpression queryCondition = new ConditionExpression("name", ConditionOperator.Equal, "Authorized Contact"); ConditionExpression queryCondition1 = new ConditionExpression("name", ConditionOperator.Equal, "Authorized User IDs"); qe.Criteria.Conditions.Add(queryCondition); qe.Criteria.Conditions.Add(queryCondition1); } The one view which i was able to see that also stoped working. is there other way via which I can do, considering I make only 5 views to be visible in future to this particular user. Thank you so much for help.
↧
Forum Post: RE: Can I block page reloading or redirection using web resource?
I don't think its possible due to that WebResource is an element on the page. If the user switches view from a navigational element there is no way stopping it as WebResource is merely a child element of the form. Maybe there is a better approach to the problem if you think about the use case. Why are you blocking switching of views? If you don't want the user to be able to switch views maybe you should hide them behind access control.
↧
Forum Post: RE: How to disable error messages
I'm not sure if that's possible. The better solution would be to fix what's causing these errors. In my experience Dynamics does not come with these kinds of errors, so I'm guessing this is your own logic. It might be JavaScript from a WebResource, it might be a plugin. Have a look at it and do more error handling in your code. If you query an object or handle a entity property you will need to check if it's initialized before using its functionality for instance.
↧
Forum Post: RE: Can I block page reloading or redirection using web resource?
The User case that I want this feature for is " When I has a unsaved subgrid I want the user about the unsaved subgrid and only if the user agrees will I redirect or cancel redirection respectively"
↧
↧
Forum Post: RE: Unable to connect to the remote server -2147220891
This might not be the correct forum to address this problem. The plugin is working find, but your external resource is not allowing access due to invalid authentication. I would start with Postman and create the same query to the external service. Get it up and running in Postman and you'll figure it out. A tip for Postman is that once you have your query up and running you can use it to generate C# for instance. At least see what headers to set to help you create a proper request from the plugin.
↧
Forum Post: RE: Customizing the Registration CRM Portal Registration Page
Hi Arpit, Is this still supported after Azure AD B2C ? Wondering if thsi would work when MS deprecated local portal authentication?
↧
Forum Post: RE: Need to add button in ribbon
Go to the commands for your button in the ribbon workbench and add a JavaScript action. Then you need to adapt similar code to this to change the status syednizamsyed.blogspot.com/.../change-record-status-through-webapi-in.html mscrmtechie.blogspot.com/.../change-record-status-using-javascript.html
↧