GMSC Discussions

GeoMedia Smart Client community discussion board is where you can create, contribute and share information and knowledge in regards to configuring as well as working with GeoMedia Smart Client. Find your answers, share your knowledge and help build a strong GeoMedia Smart Client community.
Showing results for 
Search instead for 
Do you mean 
Reply
New Member
Posts: 1
Registered: ‎07-09-2019

Embed GMSC Stand alone workflow in another web application

Hi all,

 

I m trying to embed GMSC Stand Alone workflow in iframe in other application.

Its works fine if both are running on the same server,

but if host application is in another server, following error is displayed:

 

Uncaught DOMException: Blocked a frame with origin "http://workflowserver from accessing a cross-origin frame.

 

Adding x-frame to web.config of stand alone workflow is not helping

<httpProtocol>
<customHeaders>
<add name="X-Frame-Options" value="ALLOWALL" />
</customHeaders>
</httpProtocol>

 

Big thanks in advance for suggestion

 

Highlighted
Frequent Contributor
Posts: 119
Registered: ‎04-05-2016

Re: Embed GMSC Stand alone workflow in another web application

Hi Anna,

 

have you tried using this configuration instead?

 

<configuration>
	<system.webServer>
		<httpProtocol>
			<customHeaders>
				<add name="Access-Control-Allow-Origin" value="*"/>
			</customHeaders>
		</httpProtocol>
	</system.webServer>
</configuration>

 Regards,

Sven