You need to sign in to do that
Don't have an account?
Packaging a Flex Application
I have integrated a Flex application into Salesforce. Then I created an unmanaged package. I created another Salesforce account to test the package. I installed the package to that account, and made the configuration. But it says loading and doesn't do anything when i click the Flex integrated tab. But that flex application works for the other account and it works as standalone. Do I need to do any settings, for example security etc.?
Flex Debugger:
Error: Ignoring policy file requested from https://c.na6.visual.force.com/crossdomain.xml because a cross-domain redirect to https://na6.salesforce.com/crossdomain.xml occurred.
That tab includes a visualforce page and that page is similiar to this:
<apex: page tabStyle="MyTestPage__tab" sidebar="false" controller="MyTestPageController">
<apex:flash src="{!$Resource.MyTestPage}"
width="100%" height="700"
flashvars="userId={!$User.Id}&isAdmin={!user.profile.name}&session_id={!$Api.Session_ID}&server_url={!$Api.Partner_Server_URL_130}&objectId={!$Request.objectId}&objectType={!$Request.objectType}&returnUrl={!$Request.returnUrl}" />
</apex: page>
Also flex code is kept as a Static Resource.
All Answers
http://community.salesforce.com/sforce/board/message?board.id=general_development&thread.id=25334
Just a thought, but I'm wondering if this also has to do with Remote Site Settings. You cannot include this in the package, so after installing your package, you would need to manually configure this in the destination org.
Hope that helps,
Sati
Thank you but it didn't solve my problem. Because I connect to the web service using Flex app. When I hover on my Custom tab the link is https://na6.salesforce.com/servlet/servlet.Integration?lid=01r800000007bcw&ic=1. But after clicking the tab it forwards me to the https://c.na6.visual.force.com/apex/MyTestPage?sfdc.tabName=01r800000007bcw and in that page I have flex application embeddeb. It says loading but nothing happens. For my other account tab hyperlink is https://na2.salesforce.com/servlet/servlet.Integration?lid=01r40000000E9vY&ic=1 and it redirects to https://na2.salesforce.com/apex/MyTestPage?sfdc.tabName=01r40000000E9vY.I'm suspicious about "c." prefix and "visual.force" thing in my test account's links. But I don't know why it redirect that way???
That tab includes a visualforce page and that page is similiar to this:
<apex: page tabStyle="MyTestPage__tab" sidebar="false" controller="MyTestPageController">
<apex:flash src="{!$Resource.MyTestPage}"
width="100%" height="700"
flashvars="userId={!$User.Id}&isAdmin={!user.profile.name}&session_id={!$Api.Session_ID}&server_url={!$Api.Partner_Server_URL_130}&objectId={!$Request.objectId}&objectType={!$Request.objectType}&returnUrl={!$Request.returnUrl}" />
</apex: page>
Also flex code is kept as a Static Resource.