Skip to content

Instantly share code, notes, and snippets.

Jonathan Cardy johnnycardy

Block or report user

Report or block johnnycardy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tabs.js
<!– Reference jQuery on the Google CDN>
<script src="//" type="text/javascript"></script>
<!– Reference jQueryUI on the Google CDN>
<link rel="stylesheet" href="//" />
<script src="//" type="text/javascript"></script>
<script src="//" type="text/javascript"></script>
.ui-widget-header { background: none; border-radius: 0; border-left: 0; border-top: 0; border-right: 0; }
#tabsContainer { border:none;}
.ms-webpartzone-cell { margin: 0 !important; border:0; }
johnnycardy / GetEntityParametersCodeActivity.cs
Last active Feb 20, 2017
Microsoft CRM workflow code activity to retrieve various useful parameters for the current executing context.
View GetEntityParametersCodeActivity.cs
public class GetEntityParametersCodeActivity : CodeActivity
[ArgumentDescription("Primary Entity ID.")]
public OutArgument<string> PrimaryEntityId { get; set; }
[ArgumentDescription("Primary Entity Name.")]
public OutArgument<string> PrimaryEntityName { get; set; }
johnnycardy / ExecuteQueryAsync
Last active Aug 29, 2019
ExecuteQueryAsync for Microsoft SharePoint CSOM 15/16 (On Premise)
View ExecuteQueryAsync
private static async Task CSOM15ExecuteAsync(ClientRuntimeContext clientContext)
Assembly csomRuntime = Assembly.GetAssembly(typeof(ClientRuntimeContext));
Type scriptTypeMap = csomRuntime.GetType("Microsoft.SharePoint.Client.ScriptTypeMap");
InvokePrivateStaticMethod(scriptTypeMap, "EnsureInited");
//ClientRequest pendingRequest = PendingRequest;
You can’t perform that action at this time.