SoftadminSnippet.IFrame

Type: Stored procedure

Generates an iframe when called from a snippet procedure.

Example

EXEC SoftadminSnippet.IFrame
	@SourceUrl = N'https://www.example.com',
	@CssClass = N'example';

Parameters

@Allow optional varchar
Value for the 'allow' HTML attribute.
See https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-allow
@CssClass optional varchar
Value for the 'class' HTML attribute.
@Id optional varchar
Value for the 'id' HTML attribute.
@Name optional varchar
Value for the 'name' HTML attribute.
@Sandbox optional varchar
Value for the 'sandbox' HTML attribute.
See https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-iframe-sandbox
@SourceUrl mandatory nvarchar
URL of the page to show in the iframe.