Views:

Description

Generate a HTML Button. This is typically used when you want to inject a button into an email.

Signature

CreateHTMLButton(
  'url',
  'targetwebresource','shortcode',
  'targetrecordguid','entitylogicalname',
  'displaytext',
  'height','width','fontsize',
  'fontweight','fontfamily',
  'buttoncolor','textcolor',
  'floatoption','padding',
  SetQueryString('n52param1', 'value1', 'n52param2', 'value2')
)

Example

CreateHTMLButton(
  'https://north52.crm4.dynamics.com',
  'north52_quickaction','abc',
  '00124ac3-0f6f-40dd-be64-d8c0bc5dbfbd','opportunity',
  'Approve',
  '20','200','16',
  'Bold','sans-serif',
  'red','white',
  'left','10',
  SetQueryString('n52param1', 'true') 
)