Skip to content

Commit

Permalink
Updating Creator ID to DX prefix for BizApps.
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Aug 24, 2023
1 parent 13ee360 commit a9722d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions FXBTests/TestUrls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ namespace FXBTests
public class TestUrls
{
private const string docsUrl = "https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/developer-tools";
private const string docsUrlResult = "https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/developer-tools?WT.mc_id=BA-MVP-5002475&utm_source=FetchXMLBuilder&utm_medium=XrmToolBox";
private const string docsUrlResult = "https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/developer-tools?WT.mc_id=DX-MVP-5002475&utm_source=FetchXMLBuilder&utm_medium=XrmToolBox";
private const string docsUrlWithAnchor = "https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/client-scripting-best-practices#write-your-code-for-multiple-browsers";
private const string docsUrlWithAnchorResult = "https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/client-scripting-best-practices?WT.mc_id=BA-MVP-5002475&utm_source=FetchXMLBuilder&utm_medium=XrmToolBox#write-your-code-for-multiple-browsers";
private const string docsUrlWithAnchorResult = "https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/client-scripting-best-practices?WT.mc_id=DX-MVP-5002475&utm_source=FetchXMLBuilder&utm_medium=XrmToolBox#write-your-code-for-multiple-browsers";
private const string docsUrlWithQueryAndAnchor = "https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/client-scripting-best-practices?hey=ho#write-your-code-for-multiple-browsers";
private const string docsUrlWithQueryAndAnchorResult = "https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/client-scripting-best-practices?hey=ho&WT.mc_id=BA-MVP-5002475&utm_source=FetchXMLBuilder&utm_medium=XrmToolBox#write-your-code-for-multiple-browsers";
private const string docsUrlWithQueryAndAnchorResult = "https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/client-scripting-best-practices?hey=ho&WT.mc_id=DX-MVP-5002475&utm_source=FetchXMLBuilder&utm_medium=XrmToolBox#write-your-code-for-multiple-browsers";
private const string randomUrl = "https://fetchxmlbuilder.com";
private const string randomUrlResult = "https://fetchxmlbuilder.com/?utm_source=FetchXMLBuilder&utm_medium=XrmToolBox";

Expand Down
2 changes: 1 addition & 1 deletion FetchXmlBuilder/AppCode/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Rappen.XTB.FetchXmlBuilder.AppCode
public static class Utils
{
private static NameValueCollection commonparams = new NameValueCollection { { "utm_source", "FetchXMLBuilder" }, { "utm_medium", "XrmToolBox" } };
private static NameValueCollection microsoftparams = new NameValueCollection { { "WT.mc_id", "BA-MVP-5002475" } };
private static NameValueCollection microsoftparams = new NameValueCollection { { "WT.mc_id", "DX-MVP-5002475" } };

public static string ProcessURL(string url)
{
Expand Down
4 changes: 2 additions & 2 deletions FetchXmlBuilder/FXBGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ private void SaveView(bool saveas)
{
MessageBox.Show($"Can't set the correct ReturnedTypeCode from the metadata: {entityname}", "Save View",
MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, 0,
"https://docs.microsoft.com/power-apps/developer/model-driven-apps/customize-entity-views?WT.mc_id=BA-MVP-5002475#create-views");
"https://docs.microsoft.com/power-apps/developer/model-driven-apps/customize-entity-views?WT.mc_id=DX-MVP-5002475#create-views");
return;
}
if (dockControlBuilder.PrimaryIdNode == null)
Expand Down Expand Up @@ -656,7 +656,7 @@ private void SaveView(bool saveas)
{
var typeresult = MessageBox.Show("Save as a System View?\n\nYes - creating a new System View\nNo - creating a new Personal View", "Save View As",
MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button1, 0,
"https://docs.microsoft.com/power-apps/maker/model-driven-apps/create-edit-views?WT.mc_id=BA-MVP-5002475#types-of-views");
"https://docs.microsoft.com/power-apps/maker/model-driven-apps/create-edit-views?WT.mc_id=DX-MVP-5002475#types-of-views");
switch (typeresult)
{
case DialogResult.Yes:
Expand Down

0 comments on commit a9722d8

Please sign in to comment.