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

Cancelled recurring duplicate detection jobs still running to schedule

$
0
0

Hi,

I've encountered a bizarre issue where Recurring Duplicate Detection Jobs are still running to schedule, even though they have been cancelled. If I try and delete the cancelled job, the log file states

Microsoft.Crm.CrmException: The state transition requested is not valid for the current state. Current state: 3, current status: 32, target state: 0.

Environment Details

On premise v9, patched to 9.0.22.8

When we setup the original jobs, it was sending out a completion email but with the wrong hyperlink for the completed job. So we changed the template and setup new jobs one at a time, cancelling the old job once we had received a job completion email with the revised template. We then noticed it was sending out two emails, one with the old template and one with the new, so we've cancelled all the recurring jobs (even though half were already cancelled) but this has only stopped one set of emails and the ones were still receiving contain the old wrong link.

Is there anywhere else I can check, maybe on the server, to see where these jobs are still active?

Thanks


Error while updating entities with data in dynamics crm

$
0
0

Our DBA has a job that runs using KingswaySoft. The initial transfer of data from our on prem database to Dynamics CRM online goes fine. When KingswaySoft attempts to update data in the cloud is when we get the following error:

CRM service call returned an error: Could not load file or assembly 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

 

From the description, the above DLL is missing. However, we did not do a code push. How do we find out where to update the file? Is there a solution to this that would involve no code?

Help on xrm-ci-framework connection string

$
0
0

Hello everyone, 

Could anyone help me understand, or give me an example, with what should be the format of the connection string for the Xrm-ci-framework tools.

Have tried couple of ways to run Select-WhoAmI, or the ping in a different ways but couldn't get a successful output, here are some tries I had so far:

What am I doing wrong? 

Many thanks

When creating Word Template for Case, Case Resolution is missing from 1:N relationship list

$
0
0

I'm helping a user who wants to create a detailed Word Template for Case. They're trying to include Case Resolution () in the template, but it isn't populating in the downloaded Word Document. I don't think this is an error in using a repeating element for the following reasons.

If I go to a Case and select "Download Template" from the menu, I'm able to see Case Resolution in the 1:N Relationship list.

I can select the relationship from the above list, but it doesn't populate when downloading the Word document. I noticed that if I go to the Settings area and create a new Document Template, I don't see the relationship listed in the Select Entity dialog. I think this indicates that something funny is going on with this relationship and that's why it isn't populating in the downloaded Word document.

Here's a screenshot of the relationship on the Case entity from make.powerapps.com. Why isn't Incident_IncidentResolutions an option for use in the Word Template on Case?

Follow/Unfollow not showing up with Activity Feeds enabled for the entity

$
0
0

So, I have the System Administrator security role, so the security permissions should not be an issue.

I have enable the Activity Feeds on the Account, User, Contact, and Incident entities. I got the popup that said I must publish the entity for the form wall changes to take effect. I published all customizations from the default solution. The follow/unfollow icons do not show up in the command bar even when the view of "Cases I Follow" have been enabled. 

I have a feeling I am missing a step. Any ideas on what to check?

Thank you.

Manager Approval Process For Invoice With Amount Limit For Users

$
0
0

Hello All,

There is a scenario, which needs some guidance, related to Sales -- Quote Approval.

Scenario is --

User will have a prescribed amount limit for a quote (total amount), which he or she can self approve and if quote is beyond the amount limit it should go to the senior / manager or supervisor for approval.

Example - Jon Snow has limit of $1500, if the quote total amount is $1600 then the request should redirect to supervisor.

Workaround would be really helpful.

Manager Approval Process For Quote With Amount Limit For Users

$
0
0

Hello All,

There is a scenario, which needs some guidance, related to Sales -- Quote Approval.

Scenario is --

User will have a prescribed amount limit for a quote (total amount), which he or she can self approve and if quote is beyond the amount limit it should go to the senior / manager or supervisor for approval.

Example - Jon Snow has limit of $1500, if the quote total amount is $1600 then the request should redirect to supervisor.

Workaround would be really helpful.

Can someone talk about OwnerId and OwningTeam of the Incident table/entity?

$
0
0

Would someone talk about the OwnerId, OwningTeam, and OwningUser of the incident table?

OwnerId             writeable attribute

OwningTeam      read-only attribute

OwningUser       read-only attribute

Q1: How, what does dynamics do OOTB, to set the ownerid when an incident is created?  

Q2: What part do the OwnerId, OwningTeam, and OwningUser play when it comes to what permissions govern accress to the incident record? 

Q3: In a background process there is a check box for trigger  "Record is assigned".  Which field does this trigger use?

sorry to be all over the place..

Thanks, DJ

.


How to restore the deleted log of Contacts in CRM 2016

$
0
0

Hi All,

Deleted Audit history log by mistake for one of the contact on CRM 2016 version. Want to restore the deleted Audit history log of this specific contact back.

Let me know if in case this is possible by XRMTool box or any other option. 

Advanced Find Query

$
0
0

Dear Team,

I am after a help, it might sound bit strange but I am not able to figure it out. I am looking to perform Advanced Find search for Accounts that does not have any Open opportunities.

Even though it sounds simple, I am not getting correct results when I try to search the accounts via Advanced Find in CRM. Because each account has multiple opportunities (some of them are Won, and some are in Open status) so I am getting the results even though there are open opportunities for the account. How can I search for an account that does not have any Open opportunity. 

Thanks

Gowtham

Resource not found for the segment 'owners'.

$
0
0

When I execute the ms flow gets the error "Resource not found for the segment 'owners'"

How to sync Outlook without contacts

$
0
0

Hi, 

I have a requirement from my customer in which I should Activate the outlook Sync in Dynamics sales without Syncing the contacts. 

They will just sync the appointment and task but not the contacts. 

I didnt find any setting in "system setting" in Dynamics to uncheck the contact. 

Does anybody have an idea how I can solve this problem?

Thank you!

Best Regards

Error while using NPM start to use test harness for PCF control

$
0
0

Hi All,

I am trying to build a sample PCF control, I have installed the latest Node.js and power apps CLI. When I am using the npm start command to open the Test harness, I am getting the below error. I have tried reinstalling the CLI and Node.js but still getting the same error.

Any kind of help will be much appreciated. Thanks in advance!

Exchange server returned UnknownIncomingEmailIntegrationError -2147220910 exception.

$
0
0

The other day at work,

I encountered the following error message,

one for which I could not find a solution online.

Please help to solve the problem, thanks.

Please see screenshot for details:


Version:Microsoft Dynamics CRM 365

Cross-Domain authentication

$
0
0

Hello CRM Geeks.

Recently, we have enable claim base authentication in Dynamics 2013 on premise version and it working well. We also have another asp.net website hosted under ISV folder and website is using ADFS claim base authentication. ASP.Net pages are using in CRM using IFRAME. The issue is CRM cannot see the asp.net pages and users need to sign in to asp.net website first to see the asp.net pages from CRM. Is there anyway to access the aspnet pages from CRM without need to sign in asp.net website manually?

Regards,

Pyae Phyo Aung


Regarding the Send Email Campaign button in MarketList

$
0
0

Hello Eveyone, 

I am new in CRM, So regarding the marketing list I am facing the issue.

I am not able to find the Send Campaign Email button in CRM. I have attached the Screenshot for your reference, I trying  to find out this button in CRM.

Please help me regarding the same..

Thanks!!

Trim Fast Keto Scam Or Benefits Reviews 2022 : Does It Really Works!

$
0
0

️Product Name : Trim Fast Keto
️Side Effect : No Site Effect
️Category : Health
️Availability : Online
️Rating : 
Official Website (Sale Is Live) : Click Here To Trim Fast Keto Order From Official Website Now

Keto Trim Fast is a keto diet pill that helps you burn for and lose weight and is only available at KetoTrimFast.com.

Using natural ingredients like BHB ketones, Keto from Keto Trim Fast claims to support energy, weight loss, and fat burning, among other benefits.

Does Keto Trim Fast’s Keto live up to the hype? How does the diet pill work? Keep reading to discover everything you need to know about this weight loss supplement and its effects.

About Keto Trim Fast

Supplement company Keto Trim Fast has launched a new keto diet pill called Keto. It’s designed as a ketogenic weight loss support supplement.

By taking two capsules of Keto Trim Fast’s Keto daily, you can give your body the ingredients it needs to trigger fat burning.

The keto diet forces your body to burn fat for energy instead of carbs. This helps you lose weight while also boosting energy. By taking Keto Trim Fast’s Keto, you can enjoy these benefits without needing to follow the keto diet.

In fact, Keto Trim Fast claims their formula will help anyone melt fat quickly “without diet or exercise.” You can eat whatever you like, exercise as little as you want, and still lose a significant amount of weight in a short period, according to KetoTrimFast.com.

Keto Trim Fast Features & Benefits

Keto Trim Fast claims their Keto diet pill will lead to all of the following benefits:

  • Burn fat for energy instead of carbs
  • Release fat stores to increase energy naturally
  • Boost confidence and love the way you feel
  • Trigger fat-burning ketosis
  • Lose weight without dieting or exercising
  • 100% natural ingredients and made in the United States

How Does Keto Trim Fast Work?

Keto Trim Fast works using 100% pure beta hydroxybutyrate (BHB) ketones.

The supplement also contains complementary ingredients like caffeine, fish oil powder, vitamin D, and zinc.

Studies show that taking BHB ketone salts can raise ketone levels in your bloodstream. Typically, to raise ketone levels, you need to fast or follow a keto diet. Diet pills like Keto Trim Fast promise a shortcut: you can force your body to enter a fat-burning state of ketosis even without dieting, fasting, or exercising.

However, Keto Trim Fast also contains other unique ingredients we don’t see in other weight loss fills. There’s fish oil powder, collagen, and caffeine, for example. Although these ingredients aren’t typically found in a keto diet pill, they could support weight loss and energy in other ways.

Like other keto diet pills, Keto Trim Fast uses multiple types of ketones, including calcium citrate, magnesium citrate, and potassium gluconate. These are the salted forms of each mineral. By taking the salted form, you can raise ketone levels in your bloodstream, forcing your body to burn fat for energy instead of food.

==> CLICK HERE AND ORDER THE Trim Fast Keto <==

Keto Trim Fast Ingredients

Keto Trim Fast contains natural ingredients like vitamins, minerals, collagen, and caffeine. Here’s a brief overview of each ingredient in Keto Trim Fast and how it works:

BHB Ketones (130mg): Keto Trim Fast contains three types of beta hydroxybutyrate ketone salts, including calcium citrate, magnesium citrate, and potassium gluconate. Also known as BHB ketones, these ingredients raise ketone levels in your bloodstream – similar to how the keto diet or fasting raises ketone levels. When you take a BHB ketone diet pill, it’s like getting a weight loss or keto shortcut. You trick your body into burning fat for energy – even if you’re not exercising, fasting, or following a strict keto diet. Each serving of Keto Trim Fast contains 75mg of calcium, 50mg of magnesium, and 4.5mg of potassium, giving you roughly 130mg of BHB ketones to support your weight loss goals.

Vitamin D (5mcg): Keto Trim Fast contains a small dose (5mcg) of vitamin D. Your body needs vitamin D to produce hormones, including many of the hormones involved in weight loss and hunger. Vitamin D also plays a crucial role in immune function.

Zinc Oxide (50mg): Keto Trim Fast contains a surprisingly strong dose of zinc. Experts recommend getting 9mg to 11mg of zinc per day, depending on your age and gender. Keto Trim Fast, however, contains 50mg of zinc oxide. Zinc is crucial for overall health and wellness. Although most people are not zinc deficient, those who are zinc deficient may have lower levels of hunger and weight loss hormones than normal. By giving you 5x your daily recommended dose of zinc, Keto Trim Fast could help support various aspects of health and wellness.

Fish Oil Powder (50mg): Fish oil is rich with omega-3 fatty acids, which are crucial for cardiovascular health. Many people take fish oil supplements daily to support heart health. Each serving of Keto Trim Fast contains 50mg of fish oil powder. By condensing and concentrating this fish oil powder into a convenient supplement, the makers of Keto Trim Fast have made it easy to get omega-3 fatty acids and other beneficial compounds in fish oil.

Hydrolyzed Collagen (50mg): Collagen is the most abundant protein in the human body. It’s crucial for supporting hair, skin, and nail health. Many people take collagen supplements daily for anti-aging benefits. It can make your skin look smoother, tighter, and younger, for example. Your skin’s collagen production naturally drops every year after age 25, leading to visible effects of aging. Keto Trim Fast contains a small dose of collagen (50mg) to support anti-aging benefits and overall energy. However, collagen is not linked to weight loss on its own.

Caffeine (50mg): Keto Trim Fast contains one of the most popular weight loss ingredients in history: caffeine. Each two capsule serving contains approximately the same amount of caffeine as one half cup of coffee. Caffeine is a stimulant that induces thermogenesis (fat burning) within your body. It boosts energy and helps you physically burn more fat. It’s backed by more science than BHB ketones, and many people take caffeine daily for weight loss.

ALSO READ:Java Burn Reviews – What Every Customer Should Know First!

How to Use Keto Trim Fast

The makers of Keto Trim Fast claim their diet pill works in a three step process to help you lose a significant amount of weight in a short period.

Here’s what you can expect to experience after taking Keto Trim Fast:

Step 1) Rapid Fat Burn: Keto Trim Fast starts by instantly burning fat from your body. Soon after the ingredients enter your bloodstream, they’ll get to work raising ketone levels and kickstarting your body’s fat burning processes. Your body switches to start burning fat for energy instead of carbs. According to the makers of Keto Trim Fast, you can expect to lose 5lbs in the first week of taking Keto Trim Fast.

Step 2) Increased Fat Burning: During the next step, Keto Trim Fast offers accelerated fat burning. The supplement uses BHB to continue to help you lose weight. During this phase, you can expect to lose up to 20lbs over a one month period. According to the manufacturer, “you will notice a drastic change in a very short period of time” after taking Keto Trim Fast – all with zero diet, exercise, or effort required on your part.

Step 3) Final Transformation: The third and final phase of Keto Trim Fast is to transform your body over the next 3 to 5 months. Although the manufacturer does not make specific weight loss claims for this time period, they claim it will take 3 to 5 months to stabilize your appetite and get adjusted to your new, slimmer body.

==> Read More Here: Don't Miss Out Today's Special Offers <==

How Ketosis Works

Ketosis has been one of the biggest weight loss buzzwords of the last decade. Ketosis is a proven weight loss process your body enters when fasting or following a keto diet. Your body enters ketosis when it needs to burn fat for energy – say, if you’ve deprived your body of carbs or if you’ve already burnt all your carbs.

According to the makers of Keto Trim Fast, you don’t need to diet, exercise, or follow a keto diet for your body to enter ketosis. You don’t even need to fast. Instead, you can enjoy powerful and rapid weight loss results thanks to the calcium, potassium, and other ingredients in Keto Trim Fast.

Here are key features of the science behind ketosis – and how Keto Trim Fast works:

No More Stored Fat

Keto Trim Fast claims to make your stored fat a thing of the past. When you take a keto diet pill, you tell your body to burn fat for energy instead of carbs. Your body gets this energy from fat, which is just stored energy. You’ll feel more energetic and you’ll avoid stored fat.

Get Better Energy

Many people feel a shift in energy when they start taking the keto diet. Your body is getting its energy from fat instead of carbs. This can lead to fewer energy fluctuations throughout the day. Your body is relying on its own natural energy source – its fat – instead of dietary sources like carbs. According to the makers of Keto Trim Fast, the supplement will help your body achieve ketosis fast and burn fat for energy instead of carbs, allowing you to access a better source of energy.

More Health Benefits

According to the makers of Keto Trim Fast, the diet pill will offer “more health benefits” by helping you embrace ketosis. The diet pill works “almost instantly” to force your body to enter ketosis, allowing you to burn fat for energy instead of carbs. When you’re in ketosis, you experience higher levels of physical energy and mental clarity – along with “very rapid weight loss,” according to the official website.

ALSO READ:Exipure Reviews – What Do Exipure Customer Results Reveal?

Keto Trim Fast Ingredients Label

The makers of Keto Trim Fast disclose the full list of ingredients and dosages upfront. Although some of the dosages seem unusual (like 50mg of zinc, more than 5x the daily recommended amount for most people), other doses seem average compared to other keto diet pills.

The full list of ingredients in each two capsule serving of Keto Trim Fast includes:

  • 5mcg of vitamin D
  • 75mg of calcium citrate
  • 50mg of magnesium citrate
  • 50mg of zinc oxide
  • 4.5mg of potassium gluconate
  • 50mg of hydrolyzed collagen
  • 50mg of caffeine

Other ingredients, including brown rice flour (as a filler and binder), gelatin (to create the capsule), microcrystalline cellulose (as a filler and binder), and silicon dioxide (as a preservative).

==> Get Trim Fast Keto Go for the lowest available price from the official website <==

How Much Weight Can You Lose with Keto Trim Fast?

The makers of Keto Trim Fast are confident anyone can lose a significant amount of weight in a short period when taking their supplement. Some of the advertised weight loss claims made on KetoTrimFast.com include:

You can lose up to 5lbs your first week of taking Keto Trim Fast, and then lose another 20lbs during your first month of taking the supplement

One woman claims she “cried” after losing her first 10lbs while taking Keto Trim Fast

Another woman claims to have lost 20lbs in 30 days while taking Keto Trim Fast

One reviewer claims he dropped from 26% to 16% body fat in 4 months while taking Keto Trim Fast

According to the manufacturer of Keto Trim Fast, you can lose weight without dieting, exercising, following the keto diet, fasting, or exerting much effort whatsoever; the diet pill offers easy, hassle-free weight loss virtually overnight

The maker of Keto Trim Fast advertises different supplement packages based on your weight loss results, including the 2 bottle package (for those who need to lose 7+ lbs), the 3 bottle package (for those who need to lose 15+ lbs), and the 5 bottle package (for those who need to lose 25+ lbs)

For all of these reasons and more, Keto Trim Fast claims to be “the most powerful” keto diet pill available today. By forcing your body to enter – and remain in – a fat-burning state of ketosis, Keto Trim Fast can help you burn fat for energy instead of carbs, leading to rapid weight loss, better energy, and sustained weight management results.

Scientific Evidence for Keto Trim Fast

Keto Trim Fast has not published any clinical trials on Keto, nor do they claim to have any PhDs or other certified nutrition scientists on their team. Nevertheless, the company claims you could lose up to 20lbs in your first 30 days of taking the supplement – all with little effort required.

What does science say? Can you really use Keto Trim Fast to lose a significant amount of weight without dieting or exercising?

BHB ketone supplements are more popular than ever, and many people take BHB ketones daily to force their body to remain in ketosis as long as possible. In this 2017 study, researchers found that exogenous ketone supplements did raise ketone levels in the bloodstream. However, it was unclear if those higher ketone levels led to greater weight loss.

The keto diet itself is backed by significant weight loss results in multiple settings. In this 2021 study, however, researchers specifically analyzed the effectiveness of the keto diet with and without exogenous ketone salts (like the ingredients found in Keto Trim Fast). Participants followed a low-calorie keto diet over a 6 week period with and without exogenous ketone salts. After 6 weeks, researchers found that there were no group differences between the ketone and non-ketone group, although both groups lost a significant amount of weight while following the keto diet.

Although the verdict is still out on ketone salts, researchers have linked caffeine to weight loss benefits. Each serving of Keto Trim Fast contains 50mg of caffeine, or about the same dosage in half a cup of coffee. Instead of linking each of the hundreds of studies on caffeine, we’ll link to this 2019 review that analyzed dozens of randomized controlled trials on the weight loss effects of caffeine. Researchers found that caffeine was associated with significant reductions in weight, BMI, and fat mass. Researchers also found that weight loss results nearly doubled for every two-time increase in caffeine intake.

The other ingredients in Keto Trim Fast, including zinc, vitamin D, and fish oil, have been linked to health and wellness. However, they have not been linked to significant weight loss results.

Keto Trim Fast Pricing

Keto Trim Fast is exclusively available to order through KetoTrimFast.com, where it’s priced at around $60 per bottle.

You must buy a minimum of 2 bottles per order. If you buy 3 or 5 bottles, you get a steeper discount.

Here’s how pricing breaks down:

  • Buy 1 Get 1 Free = $59.75 per
  • Buy 2 Get 1 Free = $53.28 per
  • Buy 3 Get 2 Free = $39.76 per

Each bottle contains a 30 day supply of Keto Trim Fast (60 capsules). The manufacturer recommends taking two capsules of Keto Trim Fast daily to rapidly lose weight.

You can buy Keto Trim Fast online using Visa, MasterCard, Discover, or American Express.

==> Official Website Of Product Visit To Trim Fast Keto <==

Keto Trim Fast Refund Policy

Keto Trim Fast is backed by a 90-day moneyback guarantee. You can request a complete refund on your purchase within 90 days of when you received the order.

If you did not lose a significant amount of weight while taking Keto Trim Fast, or if you are unsatisfied with the results of the formula for any reason, then you are entitled to a complete refund with no hassle.

About Keto Trim Fast

Keto Trim Fast is made by a supplement company named Keto Trim Fast. The company provides limited information about itself, its manufacturing location, or its ingredient sources.

However, the company does claim to be run by nutrition consults. Keto Trim Fast describes themselves as “a group of like-minded nutrition consultants committed to living a healthier and more active life.”

Keto Trim Fast has launched two supplements marketed to keto dieters, including Keto (for forcing your body to enter and remain in ketosis) and Cleanse (for supporting digestive health and weight loss).

You can contact Keto Trim Fast via the following:

You can learn more about the company online at KetoTrimFast.com. The company manufactures its supplements in an FDA-registered, GMP-certified facility in the United States.

Final Word

Keto Trim Fast is a new keto diet pill that uses BHB ketones to force your body into a fat-burning state of ketosis.

By taking Keto Trim Fast daily, you can purportedly lose a significant amount of weight without dieting or exercising. In fact, Keto Trim Fast claims you can lose up to 20lbs in your first month of taking Keto.

To learn more about Keto Trim Fast and how the weight loss supplement works, visit the official website today at KetoTrimFast.com.

Read More :

https://trim-fast-keto-official.jimdosite.com/
https://www.facebook.com/Trim-Fast-Keto-105249185384207
https://www.facebook.com/Trim-Fast-Keto-Reviews-102298489017373
https://groups.google.com/u/0/g/trim-fast-keto-official/c/ObTBycaO90w
https://www.emailmeform.com/builder/emf/trim-fast-keto/official
https://www.facebook.com/Keto-Trim-Fast-Reviews-104121992165663
https://www.facebook.com/Keto-Trim-Fast-100160975902575
https://www.facebook.com/Trim-Fast-keto-105232572052779

How to retrieve and check the queue item 'Worked By' field contains the value or not? from the subgrid level

$
0
0

Hi,

I have a question which I hope someone can shed some light. Thanks in advance

Using JavaScript function, I want to retrieve the selected record queue item and checks for the Worked By of the queue item to see if it is already populated or not? Based on the outcome, I want to do further steps. But I stuck at checking the Worked By value. I am passing the Selected item to the function and retrieved the queue item title using the Xrm.WebApi.retrieveRecord method. But I am struggling at retrieving the Worked By value or check if it is null or not. Please suggest. Thanks

function GetWorkerIdValue(selectedItems)
{
if (selectedItems != null && selectedItems.length > 0)
{
// alert("selectedItems.length - "+selectedItems.length);
var queueItemId = null;
for (var indxIds = 0; indxIds < selectedItems.length; indxIds++)
{
queueItemId = selectedItems[indxIds].Id;
if (queueItemId != null)
{
Xrm.WebApi.retrieveRecord("queueitem", queueItemId, "?$select=title,_workerid_value").then(
function success(result) {
var title = result.title;
//var workerId = result._workerid_value;
// perform operations on record retrieval
},
function (error) {
alert(error.message);
// handle error conditions
}
);
}
}
}
}

Power Apps Portals - Application Insights Authenticated Users

$
0
0

I am trying to leverage App Insights to get authenticated users for my Power Apps portal. Was setting up things as described by Oleksandr Olashyn here: https://www.dancingwithcrm.com/powerappsportals-tracking-using-azure-app-insights/

That approach was working fine until Oct 12th when suddenly user_AuthenticatedId was not populated anymore. Did of course not change anything in the snippet nor any app insights settings. Would be great if anyone could help getting back on track ... Thanks!!

Problems with the new in app-notification (preview)

$
0
0

Hello community,

I am currently trying to implement the new functionality of the in-appnotification. Microsoft published this topic in September of the last year:

Send in-app notifications within model-driven apps (preview)


Based on this documentation and description, I was able to activate the function on my system without any problems.

It is now my goal to trigger such a notification on my system using a plugin and to display it to a system user. For a first simple try, I wrote this method:

void CreateNotification(PluginContext context, Guid userId, String entitiyName)
        {
            var notification = new Entity("appnotification");
            notification["title"] = "This is the title.";
            notification["body"] = $"This is the body of the notification.";
            // notification["icontype"] = 100000000;    // prevents notification from being created
            // notification["toasttype"] = 200000000;   // prevents notification from being created
            // notification["ttlinseconds"] = 10;       // prevents notification from being created
            notification["ownerid"] = new EntityReference("systemuser", context.InitiatingUserId);

            context.OrganizationService.Create(notification);
        }

As long as the lines for setting icontype, toasttype and ttlinseconds are commented out, the test notification is displayed to the system user. However, the user must actively click the bell-icon at the top right of the ribbon to see the notification. If the fields are set, the action is not carried out and no notification is created. I could do without setting the icon. But it is very important for the application that the toast type and the time are set in order to display the notification to the user for a short time.

I also tried to set those explicitly stating that the values are Int32: 

notification["icontype"] = Convert.ToInt32(100000000);
notification["toasttype"] = Convert.ToInt32(200000000);
notification["ttlinseconds"] = Convert.ToInt32(10);

Unfortunately without success.

If someone could already successfully set such a notification, or had any idea what could cause this problem, I would be very grateful for any advice!

Viewing all 46379 articles
Browse latest View live


Latest Images

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