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

Portals: How to Disable Email Verification ?

$
0
0

Hello everyone,

I want to create portal users only from existing CRM Contacts, so I want to get rid of the Email Verification that shows up on User Profil.

Is there any setting for this? Can it be disabled? Or hide it with JS is the only way?

Many thanks in advance!


Get the label of an OptionSetValue

$
0
0

I have this code line in a plugin which pulls the value from the optionset field:

int elevatorOption = image.GetAttributeValue<OptionSetValue>("new_kanheisbrukes").Value;

This works fine, however it only gives me the integer value, i.e. 100 000 001. How can I get the label value, which is a string?

Starting lots of workflows causes problems with sandbox process

$
0
0

Hi, we are in a process of upgrading our CRM all the way from 2011 to Dynamics 365 online. As a preparation we are configuring our organization on current 2011 version to be supported in every aspect for online version. I edited all the workflows and plugins to be able to function in sandbox.

We have a routine of generating lots of renewal orders once a month and we do it in a workflow which has a custom workflow activity. Activity calls a wcf service which starts a job in a new thread and returns immediately, so wf activity is not waiting for the service method to finish. If we start this wf on 250 sales orders at the same time, we get an error, but not just on this wf, some other system jobs can also fail because of this:

Unhandled Exception: Microsoft.Crm.CrmException: System.ServiceModel.CommunicationObjectFaultedException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #FB9C7DBD  at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)  at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)

We DO NOT get the same problem if we run the workflow activity outside sandbox. Running wf on 20 after 20 orders, I could not reproduce the error. I added tracing in wf activity and don't see my trace text, so I guess activity could not be started at all.

Any suggestion is appreciated

How to delete managed solution? I have error!

$
0
0

Hi!

I tried to delete my (managed) solution, but i got error :

It has dependencies in the Ribbon!

How can I fix it ?

Thank you!

Open new marketing list from contact main grid

$
0
0

Hi,

Our user wants to be able to select a number of contacts from the main grid, and opens a new marketing list by using a button.

The marketing list should be opened, but cannot be saved yet as the name should not be prefilled. However this prevents from attaching the selected contacts as the list should be saved first.

We thought about openeing the form and passing the selected contacts as parameters. To my knowledge parameters are actually added in the url, and have a limit depending on the browser. Hence I think this is not a good option as it might lead to issues.

Anyone who can confirm this isn't a good way? Anyone having a better idea?

(Currently I use a custom action to create the list with a default name and append the members)

Br

Hide and show web resource with javascript code

$
0
0

I create 2 webresource and I want when the item of field (option set type) was chosen one of webresource hide.

Field name: ClientType

Webresource1: GreenColor

Webresource2: RedColor

I don't know the javascript code to fix this problem.

Submit an entity form in a Hyperlink click in CRM portals

$
0
0

Hi All,

Is there any way to call an entity form "Submit" button from Java script code in dynamics CRM portals?? 

Your help would be highly appreciated. Thanks in Advance!!

Regards,

Venkatesh

Pictures on forms Microsoft Dynamics 365

$
0
0

Can you please give an advice how to add a picture on entity form in Microsoft Dynamics 365?


Show Attached files in a Tabular format in Entity forms INSERT mode

$
0
0

Hi All,

Is there any way to show the Attachments in a tabular format on entity forms in dynamics crm portals.

Form mode is : Insert

Thanks in Advance.

Regards,

Venkatesh

BPF is not available on Opportunity after qualifying Lead

$
0
0

Hi community,

After upgrading an environment to v9.0, BPF is not available on opportunity after qualifying lead. Please suggest the solution.

Regards,

Hardik Chauhan

Empty OptionSet crashes plugin

$
0
0

I have a plugin that starts if a custom OptionSet field A is changed. It pulls some text from field A and puts it into another field B. This works fine as long as there is any value in field A. But if field A is empty, the plugin crashes. any idea why?

Workflows are broken after import.

$
0
0

Dear all

I have exported a solution from Dyn365-sandbox and tried to import it into production (both are same version), import was done with warnings regarding all workflow related to CASE update/create operations.

in another words, the only broken workflows are the ones involving creating or update a CASE.

below is some of the errors i got:

Error: This workflow has errors and cannot be published. Please remove the errors and try again., Worklfow Id: fa56e196-1094-4d0e-b656-2760c7e1275a, ErrorMap Details: {ConditionBranchStep3: InvalidGuidReference ; CreateStep6: InvalidGuidReference ; ConditionStep2: InvalidGuidReference ; StageStep1: InvalidGuidReference ; WorkflowStep0: InvalidGuidReference}

Error: This workflow has errors and cannot be published. Please remove the errors and try again., Worklfow Id: 687c3784-5873-4e0a-9795-2b87c0271b88, ErrorMap Details: {ConditionBranchStep3: InvalidGuidReference ; ConditionStep2: InvalidGuidReference ; WorkflowStep0: InvalidGuidReference}

Error: This workflow has errors and cannot be published. Please remove the errors and try again., Worklfow Id: 9322a560-2fe5-46dc-a0b1-4671d1104b5b, ErrorMap Details: {ConditionBranchStep2: InvalidGuidReference ; CreateStep3: InvalidGuidReference ; ConditionStep1: InvalidGuidReference ; WorkflowStep0: InvalidGuidReference}

Error: This workflow has errors and cannot be published. Please remove the errors and try again., Worklfow Id: dc383196-b1d4-49a5-9f23-4c21be7e920e, ErrorMap Details: {ConditionBranchStep2: InvalidGuidReference ; ConditionStep1: InvalidGuidReference ; WorkflowStep0: InvalidGuidReference}

Error Mobile Offline Account

$
0
0

Mobile offline profile defines that every account should be downloaded. Status of the accounts is "available" in the mobile app. However, when we go offline, no account record can be opened due to following error in Event Viewer:

The requested record was not found or you do not have sufficient permissions to view it.
Inner Error Message:
Offline store failed with error: 'Error: SQLite.SQLiteException: no such table: account
at Microsoft.MicrosoftDynamicsCRMforWindows10!<BaseAddress>+0x2c1548
at Microsoft.MicrosoftDynamicsCRMforWindows10!<BaseAddress>+0x366779
at Microsoft.MicrosoftDynamicsCRMforWindows10!<BaseAddress>+0x36552a
at System.Collections.Generic.List<System.Diagnostics.Tracing.FieldMetadata>..ctor(Collections.Generic.IEnumerable<System.Diagnostics.Tracing.FieldMetadata> collection)
at Microsoft.MicrosoftDynamicsCRMforWindows10!<BaseAddress>+0x35bda2
at Microsoft.MicrosoftDynamicsCRMforWindows10!<BaseAddress>+0x35bb44
at System.Action.Invoke()
at Microsoft.MicrosoftDynamicsCRMforWindows10!<BaseAddress>+0x35b50c
at Microsoft.MicrosoftDynamicsCRMforWindows10!<BaseAddress>+0x35b3af' while trying to retrieve with key 'account:'

 


Anybody has an idea to fix this? Version is V8.2 and user has sufficient permissions to access accounts.

Open popup through javascript, get some text values and return to calling script

$
0
0

Hello,

I'm trying to setup a workaround to the following scenario:

I built an Address AutoComplete mechanism for a Contact form. This relies on being able to use the addOnKeyPress method to enable the "type ahead" search.

Problem, we also need the "Use Legacy Form Rendering" enable in the Settings. This prevents using addOnKeyPress method as it renders that unsupported.

What I'd like to do is display a popup when the user enters the first line field of the address, move all the Address AutoComplete code into a seperate page to be rendered in that popup, allow the user to complete the address then return the address to the calling form.  :-))

OR

Do same but display the independant page in an iFrame and return the completed address to the main/calling/parent form.

Any ideas on this? Anyone?

MS dropped the ball in rendering addOnKeyPress useless if "Use Legacy Form Rendering" is enabled. But, I expect nothing less really.

thanks

url redirecting Issue


Adding Web Resources to Views

$
0
0

I am trying to add a webressource into a view to show a yes/no icons marks but it doesn't work i already showing other icons on other columns but is webresources works on boolean fields ?

this is my code

function yesOrNoToolTip(rowData, userLCID) {    
    var str2 = JSON.parse(rowData);
    var col_data2 = str.ans_reserver_Value;
    var imgName2 = "";
    var tooltip2 = "{" + col_data2 +"}";

    switch (col_data2) {
       case 0:
          imgName2 = "tool_no";
          tooltip2 = "No";
          break;
       case 1:
         imgName2 = "tool_yes";
         tooltip2 = "Yes";
         break;
      
    }
    var resultarray2 = [imgName2, tooltip2];
    return resultarray2;
}

Retrieve Role Privileges and export into XL Sheet

$
0
0

Hi,

I have an requirement where user can select security role and exports selected role privileges into Xl sheet . so that user can easily understands access levels of the Role. i am able to retrieve privileges(ex:prvReadSite) but they are not user friendly , is there any other way ? Any help.

Dynamics 365 app for Outlook - Related Records

$
0
0

We have the Dynamics 365 App working and I can push it out to my users. The one issue we are having is related records. None of the related records are showing/loading. We get the 5 dots scrolling across the bottom but the related records never load. We experience this across all platforms. Windows, MAC, OWA, ect.. 

Anyone else seeing this or maybe its a server side issue? We are not Dynamics 365 hosted but we are partner hosted. 

get crm data from c# datareader

$
0
0

Hi, I am trying to connect with the CRM database through c# console application, and I am using data reader to get the result, but I got the format error "Input string was not in a correct format",

 
sql = "select top 10 name from accountbase";
try
                {
                    connection.Open();
                    command = new SqlCommand(sql, connection);
                    dataReader = command.ExecuteReader();
                    if (dataReader.HasRows)
                    {
                        while (dataReader.Read())
                        {
                            Console.WriteLine(String.Format("{ 0}", dataReader[0]));
                        }
                    }
                    dataReader.Close();
                    command.Dispose();
                    connection.Close();
                }
                catch (Exception ex)
                {
                    Console.WriteLine(ex.Message);
                }


Creating a custom activity record - how to default open in new tab

$
0
0

From the activities pane, when creating a new custom activity record (or email or appointment), I wan't to automatically open the new record in a new tab or window so that I don't have to leave the parent record. Is this possible?

Viewing all 82002 articles
Browse latest View live


Latest Images

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