Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

With embedded forms you can display emakin forms in other applications in HTML iframe.

Embedded form layout can be accessed from "http(s)://<mydomain>.emakin.com/app/embed.asmx" url.

Authentication

Embedded forms still needs valid authentication, if user is not logged in before browser will be redirected to login page. Alternatively you can specify an authentication token to login user automatically and skip login page. Example embedded page url with authentication is below;

http://ertan.emakin.com/app/embed.aspx?/workitem/d4c1adc7-c9d2-4af0-a2b3-b6d61d88df6d&auth=41AA3CE3CAFB..............BF8114

You can generate required authentication token with getToken method in rest service

Generated authentication tokens are limited to configured based time period and they can be expire. Please always generate new tokens as long as needed and do not store in any place like disk or code.

Embedding Form

You can embed emakin forms in a basic HTML IFrame tag like below;

Example:

<html>
	<body>
        Hello!
		<iframe src="http://ertan.emakin.com/app/embed.aspx?/workitem/d4c1adc7-c9d2-4af0-a2b3-b6d61d88df6d" width="100%" height="600" frameborder="0"></iframe>
	</body>
</html>

Action Toolbar

By default emakin does not show action toolbar of work items. If want to show action toolbar you can specify "actions=1" parameter in query string to show action toolbar.

Example:

<html>
	<body>
        Hello!
		<iframe src="http://ertan.emakin.com/app/embed.aspx?/workitem/d4c1adc7-c9d2-4af0-a2b3-b6d61d88df6d&actions=1" width="100%" height="600" frameborder="0"></iframe>
	</body>
</html>

Return Address

You can specify "returnUrl" parameter in query string to redirect user another address after form is completed. This parameter is only meaningful if action toolbar is visible.

Example:

<html>
	<body>
        Hello!
		<iframe src="http://ertan.emakin.com/app/embed.aspx?/workitem/d4c1adc7-c9d2-4af0-a2b3-b6d61d88df6d&actions=1&returnUrl=http://localhost" width="100%" height="600" frameborder="0"></iframe>
	</body>
</html>

 

 

  • No labels