Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all 79901 articles
Browse latest View live

Microsoft.Dynamics.EventManagement.CrmPlugins CheckIfEligibleOnSessionRegistrationCreateOrUpdate

$
0
0

Dear Comunity, 

I wonder if you could assist me with a following issue since the helplink  http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040265&client=platform could not provide any support on this matter concerning the Microsoft.Dynamics.EventManagement.CrmPlugins CheckIfEligibleOnSessionRegistrationCreateOrUpdate  on a case where the session is eligible and there are still passes left for the session but the error message still appear when updating a Session registration record contact record 


Plugin:
ExceptionFromPluginExecute: Microsoft.Dynamics.EventManagement.CrmPlugins.EventMgmtPlugin.Plugins.CheckIfEligibleOnSessionRegistrationCreateOrUpdate
ExceptionRetriable: False
ExceptionSource: PluginExecution
OriginalException: PluginExecution
PluginTrace: 2023-03-28T13:00:30.0554783Z :: Information(170015) :: Session attendance is not eligible
2023-03-28T13:00:30.0554783Z :: Information(170015) :: Begin: GetLocalizedMessage, messageCode: SessionAttendanceIsNotEligible
2023-03-28T13:00:30.0804728Z :: Information(170015) :: User language is: 1033
2023-03-28T13:00:30.0854766Z :: Information(170015) :: Begin: RetrieveJsonWebResourceByName, languageCode: 1033
2023-03-28T13:00:30.2154715Z :: Information(170015) :: Webresources returned from server. Count: 1
2023-03-28T13:00:30.2154715Z :: Information(170015) :: End: RetrieveJsonWebResourceByName , webresourcePath: msevtmgt_/Localizations/plugins1033
2023-03-28T13:00:30.2424680Z :: Information(170015) :: Begin: RetrieveLocalizedStringFromWebResource
2023-03-28T13:00:30.2424680Z :: Information(170015) :: Message value: You don't have passes for this session.
2023-03-28T13:00:30.2424680Z :: Information(170015) :: End: GetLocalizedMessage, message: You don't have passes for this session.
2023-03-28T13:00:30.2424680Z :: Information(170015) :: Exception 'InvalidPluginExecutionException' occured: You don't have passes for this session., CorrelationId:x

HelpLink: go.microsoft.com/.../

TraceText:
[Microsoft.Dynamics.EventManagement.CrmPlugins.EventMgmtPlugin: Microsoft.Dynamics.EventManagement.CrmPlugins.EventMgmtPlugin.Plugins.CheckIfEligibleOnSessionRegistrationCreateOrUpdate]
 Microsoft.Dynamics.EventManagement.CrmPlugins.EventMgmtPlugin.Plugins.CheckIfEligibleOnSessionRegistrationCreateOrUpdate: Update of msevtmgt_sessionregistration]


2023-03-28T13:00:30.0554783Z :: Information(170015) :: Session attendance is not eligible
2023-03-28T13:00:30.0554783Z :: Information(170015) :: Begin: GetLocalizedMessage, messageCode: SessionAttendanceIsNotEligible
2023-03-28T13:00:30.0804728Z :: Information(170015) :: User language is: 1033
2023-03-28T13:00:30.0854766Z :: Information(170015) :: Begin: RetrieveJsonWebResourceByName, languageCode: 1033
2023-03-28T13:00:30.2154715Z :: Information(170015) :: Webresources returned from server. Count: 1
2023-03-28T13:00:30.2154715Z :: Information(170015) :: End: RetrieveJsonWebResourceByName , webresourcePath: msevtmgt_/Localizations/plugins1033
2023-03-28T13:00:30.2424680Z :: Information(170015) :: Begin: RetrieveLocalizedStringFromWebResource
2023-03-28T13:00:30.2424680Z :: Information(170015) :: Message value: You don't have passes for this session.
2023-03-28T13:00:30.2424680Z :: Information(170015) :: End: GetLocalizedMessage, message: You don't have passes for this session.
2023-03-28T13:00:30.2424680Z :: Information(170015) :: Exception 'InvalidPluginExecutionException' occured: You don't have passes for this session., CorrelationId:x

What dependencies might have an impact for this kind of a behaviour?  we do have developed  few CustomPlugins. Do we need to consider to adapt some logic in order to avoid this kind of errors when updating a contact on a session registration?


Custom Error message from a plugin

$
0
0

Currently I'm using InvalidPluginExecutionException to display error message to UI. Is there an alternative to display a different custom error message without "show details"? 

Editing the "System View" in Bulk

$
0
0

Hi,

I have 100+ system views and I would like to update all the views by changing them from last year to the current year. (i.e.) My system view (advanced find) is looking for a condition "year = 2022", but I would like to change all of them to 2023. How can I do it in bulk? is there a way?

We are using MS Dynamics CRM 2016 on-premise.  

Many Thanks,
Poornimaa

single code string(people's partry) value is giving syntax error while executing the JS

$
0
0


On change of Legal Name I'm triggering the JS.
one scenario it is getting failed. i.e if I entered the single code(people's party) inside the string, JS throwing the below error. 

what is the resolution for this issue?




Thank you !!

Questions regarding Power Automate license changes

$
0
0

Hello everyone!

We have read the following https://learn.microsoft.com/en-us/power-apps/maker/data-platform/api-limits-overview , https://learn.microsoft.com/en-us/power-platform/admin/power-automate-licensing/types#transition-period ,  https://learn.microsoft.com/en-us/power-platform/admin/api-request-limits-allocations and just checking if someone from here can help us, because we got a bit confused.

License changes
- Where can we see the exact licenses that each user has assigned?
- Will license enforcement be more strict once transition period ends?  Currently it's on a "trust" basis and this will change? 
- Will flows that are owned by users with D3655 licenses but use premium connectors such as HTTP and SharePoint be covered by that D365 license, or will they need a separate per-user flow license?
- If they need a separate flow license, can these be purchased for individual users or is there a minimum number of users?

Thank you very much!

Save & Close (saves the form and closes the form but doesn't closes the window)

$
0
0

I do open an appointment form using another application which is embedded in CRM using iframe.

When I click save and close the form gets saved and I get back to the application in the same window only but I want the window to be closed.

How do I disable different views for the party list field?

$
0
0

Hi,

I have created a custom activity type entity, and on this entity form, I've placed a OOB party list lookup field.

As of now, many views are available for the selection of records in this lookup. But I want only one view to be visible for the selection.

I tried different ways to disable the unwanted views, but I didn't find a suitable solution to this problem.

 

Please guide me.

Restrict Appointment Tracking to the Owner/Organizer or the Delegee

$
0
0

Hi everyone,

is there a possibility to restrict tracking of appointments to the organizer only?

We have the issue that some "internal" appointments get tracked by someone - who is not the organizer or delegee. And we want to stop that.

Is there a way to achieve that?

I found some settings but i am unsure how to do that (i am NOT a CRM expert but the EXO part)

Found this one: https://learn.microsoft.com/en-us/power-platform/admin/sync-logic

Is it the flag DisableImplicitSharingOfCommunicationActivities we are searching for?

Best regards

Stephan


Roll up fields should calculate only distinct records

$
0
0

Hi All,

We have custom two entities A(offer) & B(Investments) and there is 1-->N relationship i.e., one offer can have many investments.

These investments are made by contacts (which is standard entity) and one contact make multiple investments to the same offer (e.g., a contact named Drake can invest 10$ first time in Offer XYZ, he can invest $20 in the same offer again)

we want to show the count of contacts interested in a particular offer, but we are unable to achieve this by using rollup fields (we created roll up field on offer to show all related investments, but this not giving the correct results, as one contact can make multiple investments in the same offer)

How can we show only count of contacts instead of investments? Although Drake has invested two times, he should be counted only once. I need to show the count and a sub grid of investments on the form in offer entity.

All possible solutions are welcome.

Regards,

Persis

JS OnChange Web Resource doesn't run unless saved

$
0
0

Hello!

On the Quotes form, whenever I change the address (bill to or ship to) using the Look Up Address button, I want to pull a custom field from the address table ( email ) and populate it on the Quotes form. It is an OnChange event, however it only runs after changing and saving the address. Why does this happen and what are some possible fixes?

P.S. I'm aware I could've retrieved the table row using Xrm.WebApi.retrieveRecord("customer address", <address guid>, <select fields>)... However, apparently there is a bug where the billto_addressid and shipto_addressid don't get populated on the Quotes form. Any suggestions on that note would be greatly appreciated too!

Logging SMTP/Pop3

$
0
0

Dynamic CRM 365 Local Version 8.2


We set up synchronization with Google via SMTP/POP3 and encountered the following issues:

1) Mail periodically stops syncing (you need to disable / enable POP3 at the Gmail level)
2) Some emails are not sent to Google, although the "status" in CRM is "sent"

Can you tell me how to enable SMTP/POP3 logging?

When turning on the general TRACE, we get a lot of logs that we cannot understand. I would like only SMTP/POP3

I tried to install EmailRouter, but I ran into the "Error loading Windows Live ID" problem, which I also did not find a solution.

Account Hierarchy

$
0
0

I need to be able to report on Accounts via the account hierarchy. I have not been able to find a way to export this data into a format that allows me to do so. 

Ex: Account A is the Parent Account of Account B. Account B is the Parent Account of Account C. How can I export this data to show that Account A is the main account for Account C? 

I'd like to be able to report on accounts in a hierarchical fashion in Power BI to allow drill through at multiple account levels. We have some accounts with an 11-account structure. 

Create calculated column in power apps using c# code

$
0
0

I have scenario to create calculated column (string, date or Number ) in power apps using c# code 
i used  bellow code but its creating normal string column only not calculated column. Please advice

var calculatedColumn = new StringAttributeMetadata

{

LogicalName = calculatedColumnName,

DisplayName = new Label(calculatedColumnName, 1033),

Description = new Label(calculatedColumnName, 1033),

EntityLogicalName = entityName,

ReturnType = new AttributeTypeCode?(AttributeTypeCode.String),

FormulaDefinition = calculatedColumnFormula 

)

Dataverse search not working in newly created custom model-driven app

$
0
0

We have created a new custom app. Dataverse search is working for existing apps, but the same search is not working in this new app.
Since there are no any configurations on the app itself we are not sure what can be the cause.

Last form selected by user is not saved

$
0
0

There are no any scripts on torm level. User manually select one form. Then he opens the view with the same records and select any of the records from the list.
When record form is loaded it is not the same form that the user have previously selected. The system is always loading the first form from the forms list, but that is not the form which user has selected last.


Javascript code to retrieve account name field on related table

$
0
0

Hi,

Javascript code to retrieve account name from related table case

.Can we use Xrm.WebApi.retrieveRecord or fetchxml

Users need access to the "result button" on Advance find window

$
0
0

Hi Team,

Couple of users need access to the "result button" on Advance find window, already these users can see the advance find window but not able to see the "result button".

Requesting can you please let me know the best practices on how to handle this scenario?

Email Server Error Code Invalid argument

$
0
0

Hi,

We have been synchronizing some new users to the CRM (Custom app similar to Customer service hub) so that they can track some appointments to the CRM. For most of them, setting the category as Tracked to Dynamics 365 is going to be the way to go. For one of them, we get a warning message and their appointments can get synchronized to the CRM. They turn darker blue, but they are never added.

That's the warning we are getting: 

The link on Learn more is not available anymore and we can't seem to find documentation about it.

Do you guys have an idea of what might be our issue?

Hide a field in the Merge window

$
0
0

Hi,

We are using the out of the box merge option. I have one field in the entity which I would not want to show in the merge window when merging two records.  Please let me know how this can be achieved?

Thanks

I can't connect organization service after upgrade (on-prem)

$
0
0

Hi,

I cannot connect organization (on-prem) service after the 9.1 upgrage.

The crm is working, I can use the crm pages. But I cannot connect the org. service from code.

Also plugin registration tool doesn't connect.

When I restart ISS, I can only connect to the service with the first request. But the second request gets error.

I am out of ideas on how to fix this and would appreciate any help on this.

Thanks,

Fatih

Viewing all 79901 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>