Skip to Content
0
Dec 16, 2011 at 09:05 AM

Using streamwork apis (set_data) in a sub domain

29 Views

When a Gravity item is created in a StreamWork Activity, we embed an IFrame in the item and point the source of the IFrame to a URL(https://www.gravity.streamwork.com/gravity?modelId=someModelId) and there is no way we can use StreamWork Javascript APIs in the gravity domain. We cannot detect any changes to the Gravity content in the StreamWork Javascript files because the control is no longer in StreamWork domain.

Gravity domain is a sub domain of StreamWork domain. Is there a way to access StreamWork APIs in the subdomain ?

Regards

Sreekanth