This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html > | |
<html lang="en-us"> | |
<head> | |
<title>Show D365 v9 Parameters Page</title> | |
<script> | |
document.onreadystatechange = function () { | |
if (document.readyState == "complete") { | |
getDataParam(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PublishPlugin : IPlugin | |
{ | |
public void Execute(IServiceProvider serviceProvider) | |
{ | |
IPluginExecutionContext context = (IPluginExecutionContext)serviceProvider.GetService(typeof(IPluginExecutionContext)); | |
IOrganizationServiceFactory serviceFactory = (IOrganizationServiceFactory)serviceProvider.GetService(typeof(IOrganizationServiceFactory)); | |
IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId); | |
if (context.MessageName != "Publish" && context.MessageName != "PublishAll") | |
return; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT DISTINCT | |
'InputParameter', | |
REPLACE(mreq.Name, '{Entity.PrimaryEntityName}', ''), | |
mrf.Name, | |
CASE | |
WHEN CHARINDEX(',', mrf.ClrParser) > 0 THEN SUBSTRING(mrf.ClrParser, 1, CHARINDEX(',', mrf.ClrParser) - 1) | |
ELSE mrf.ClrParser | |
END, | |
CASE | |
WHEN mrf.Optional is null THEN 1 |