on 2011 Dec 16 9:05 AM
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
Hi Sreekanth,
this won't work because the hostnames do not match. Every modern browser will prevent this due to XSS. Are you using the OpenSocial or Methods API? Would proxying help you?
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.