Questions tagged [cross-domain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
471 views

How can we configure a custom domain for Lightning Experience? [closed]

We know that we can configure a custom domain for an Experiience Cloud site, but can we do that for Lightning Experience? In other words, instead of working from http://mydomainname.my.salesforce.com, ...
dev4life's user avatar
  • 372
0 votes
0 answers
267 views

Can I Enable Self-Registration Redirection in Conjunction with SSO?

I have a question about Salesforce registration redirection capabilities and I am getting unclear answers from my googlings. Here is the situation: When an anonymous user at our partner site partner....
dwirth's user avatar
  • 17
0 votes
1 answer
237 views

SCIM User create defaults for Timezone and EmailEncoding

If i create a user using the SCIM Rest APIs and don't populate timezone, it defaults to Pacific time. Since email encoding isn't a supported value in the schema, it always defaults to UTF-8. Does ...
Berkley Lamb's user avatar
0 votes
1 answer
1k views

Display a page in an iframe from a diferent domain

I am trying to build a simple visualforce page with an iframe. my page: <apex:page> <apex:iframe src="http://my.website.com" scrolling="true" id="theIframe"/> </apex:page> ("...
RealGigex's user avatar
  • 175
9 votes
1 answer
1k views

Change URL of Popup Window from Lightning

So I'm in the situation where I have a Lightning component that's embedded in LEX, and it provides links that open up a new window containing a Visualforce page. Each link opens the same page but ...
Matt Lacey's user avatar
  • 25.3k
5 votes
3 answers
3k views

Static Resource blocked from loading by Cross-Origin Policy

I have a global Visualforce component in the package I am developing that uses the following Static Resource to load fonts: <apex:styleSheet value="{!URLFOR($Resource.ImagesAndJavascriptZip, '/css/...
Suryatej Mukkamalla's user avatar
6 votes
1 answer
898 views

Cross Origin Domain Problem on Apex Rest Method

I have been using custom rest method for long time for file uploading and it was working properly. however last week , it started to throw error where the request is send. I have rest method in class ...
erkan çipil's user avatar
3 votes
0 answers
185 views

LockerService causes access error when managed package component tries to load js from its static resource

I turned on LockerService to test our Lightning components and I get the following error when loading a page. Our component is trying to load a .js file from its own static resource and it throws the ...
Jason Burke's user avatar
0 votes
1 answer
1k views

Enabling CORS for visualforce domain

With Summer 15 release Javascript in HTML home page Components is not allowed, but is allowed in VF components/pages included in home page side bar. When I try to access DOM elements on salesforce ...
zuke's user avatar
  • 738
3 votes
3 answers
1k views

Cannot call apex rest service from jquery on Visualforce page

I'm new to rest services in Salesforce. I've defined the following rest service in Apex: @RestResource(urlMapping='/mediaPlanDetail') global with sharing class MediaPlanDetailService { @HttpGet ...
Michael Sobczak's user avatar
2 votes
0 answers
1k views

cross domain iframe access

I have a packaged Visualforce page ( hosted on dev1 for example) which is trying to access another VF page hosted on client's org (org myclient, for example) by using apex:iframe, the iframe is ...
Lee's user avatar
  • 21
3 votes
1 answer
99 views

How To Automatically Remove Empty Home Page Component?

Before the latest updates, we were able to use Javascript Post Messaging from a VisualForce Home Page Component in order to hide it when empty. For example: if({!someCondition}) parent.postMessage('...
Adrian Larson's user avatar
  • 149k
1 vote
0 answers
381 views

Visualforce and Console Integration Toolkit results in Cross-Origin Framing error

I'm working on an App-level console component that has links in it. Those links should open new tabs (preferably in the console layout, but a new browser tab works as well) not on the Salesforce ...
zainogj's user avatar
  • 1,854
1 vote
1 answer
814 views

POST /validateEmail - How do we utilize this function with only JavaScript/JSON/JQuery?

I have a need for using the POST/validateEmail to do client side ajax validation on an email address prior to submitting data from a webform/webcollect to a data extension. source: http://code....
user18476's user avatar
1 vote
2 answers
2k views

Is there a way to connect directly to Salesforce's REST API directly from JS? [closed]

I get a cross origin error when I do an AJAX call, and am wondering if there´s a way to solve that. Thanks!
user147441's user avatar
4 votes
2 answers
635 views

Sidebar visualforce iframe "sometimes" served from force.com instead of saleforce.com?

We're a consulting agency and work with a large number of salesforce customers. We developed a simple visualforce sidebar component that we are trying to load into all of our customers instances to ...
Keith Mancuso's user avatar
7 votes
1 answer
2k views

Critical Update "Serve Static Resources from the Visualforce Domain" still serves resources via Salesforce Domain

After activating the Critical Update, I checked a couple of my orgs using Managed Packages which provide resources used on buttons and scripts in the Standard Salesforce domain. It surprised me that ...
Uwe Heim's user avatar
  • 28.3k
24 votes
2 answers
72k views

XMLHttpRequest cannot load, No 'Access-Control-Allow-Origin' is present

We have a customer who is having a problem with the embedded visualforce page for their custom objects that include our component. The issue is with the Cirrus_Files_Dog visualforce page. The page is ...
Jay Roberts's user avatar
7 votes
3 answers
16k views

How to refresh the parent window after opening a pop up window from inline page?

I opened a Popup from an inline VF page in SFDC and then after some action I was able to close the window but needed a refresh of the Top window from inline frame . My code is as below for opening a ...
Mohith Shrivastava's user avatar
6 votes
1 answer
6k views

Can we hack CORS support for custom APEX Rest services (without a proxy)?

I thought not, until I saw this post How do I open up a public REST API to JavaScript in any website? (and tweet https://twitter.com/metadaddy/status/453026655892545536) by Pat. Pardon my denseness ...
AJ D's user avatar
  • 183
4 votes
2 answers
1k views

Old Console and VisualForce Pages

I have a relatively simple Visualforce page that just uses the apex:detail to show the cases detail on the page. With that comes the out of the box change owner and change record type links and ...
Jenny B's user avatar
  • 10.5k
1 vote
1 answer
2k views

apex:inputField

I created a Visualforce page whose source code is: <apex:page standardController="Lead" extensions="PopupController" sidebar="false" showHeader="false" title="Request to Change"> <apex:...
mathlearner's user avatar
  • 2,141
11 votes
1 answer
2k views

Security Scanner finds XSS False Positives / JSENCODE incompatible with Boolean fields?

Before I submit my app for Security Review I checked it with the free scanner. It marked the following line of JS-code in a Visualforce as Critical XSS vulnerability: <script>var trueOrFalse = '...
Robert Sösemann's user avatar
2 votes
1 answer
922 views

Save to Drive Button Provided by Google related Problem

I am stuck in my visualforce page where I am including script provide by google to achieve a Save button which below: <script src="https://apis.google.com/js/platform.js"></script> <...
D-Horse's user avatar
  • 1,955
4 votes
1 answer
1k views

ForceTK in a Chrome Extension - Cross-Domain Query Issue

I'm fiddling around with writing a Chrome Extension for Force.com and came across the following blog post (http://th3silverlining.com/2013/09/14/developing-chrome-extensions-for-salesforce/). I ...
Michael Welburn's user avatar
5 votes
2 answers
4k views

How to embed standard page in vf page?

My requirement is to embed standard opportunity home page to visual force page, I have tried using iframe but i don't want to show sidebar and header of standard page. For removing the sidebar and ...
SFIntegrator's user avatar
10 votes
1 answer
67k views

iframe: Protocols, domains, and ports must match error

I have an VF page with an iframe displaying a force.com site from a different SF instance and I'm receiving this error in chrome caused by SfdcCore.js: Blocked a frame with origin "https://<...
Phil B's user avatar
  • 5,026
2 votes
3 answers
2k views

How to (cross-domain) access Chatter Profile pics from Javascript code?

I have a JS library in a static resource. This library's code renders a with a Chatter Profile picture taken from the results of a [SELECT FullPhotoUrl FROM User] Or at least tries to. This doesn'...
Robert Sösemann's user avatar