You need to sign in to do that
Don't have an account?
Claiborne
Visualforce Page Links Fail When Critical Update Activated
There is a new critical update called Remove Instance Names From URLs for Visualforce, Community Builder, Site.com Studio, and Content Files.
DANGER! DANGER! DO NOT ACTIVATE!
This changes links for visualforce pages. <domain name>.visualforce.com replaces <domain name>.<instancename>.visual.force.com.
For whatever reason, this does not work with Visualforce tabs or with buttons that link to visualforce pages.
With the critical update deactivated, the link for visualforce tab is https://<domain name>.<instancename>.visual.force.com/apex/TimeEntryCalendar?sfdc.tabName=01r500000003bNn.
When the critical update is activated, the link for the visualforce tab is https://<domain name>.visualforce.com/apex/TimeEntryCalendar?sfdc.tabName=01r500000003bNn.
The problem is that clicking the "activated" link yields this:
In my case, it was a really big problem because the visualforce tab was the default home page. So activating the Critical Update essentially locked all of my users out of salesforce.com.
This also fails with a simple button link to a visual force page.
If you assign a url to a button or type the link in - /apex/TimeEntryCalendar for instance, it works fine when the update is deactivated.
But activate the update, and it fails on just the simple link.
Problem exists in both Classic and Lightning.
MAJOR SNAFU!
DANGER! DANGER! DO NOT ACTIVATE!
This changes links for visualforce pages. <domain name>.visualforce.com replaces <domain name>.<instancename>.visual.force.com.
For whatever reason, this does not work with Visualforce tabs or with buttons that link to visualforce pages.
With the critical update deactivated, the link for visualforce tab is https://<domain name>.<instancename>.visual.force.com/apex/TimeEntryCalendar?sfdc.tabName=01r500000003bNn.
When the critical update is activated, the link for the visualforce tab is https://<domain name>.visualforce.com/apex/TimeEntryCalendar?sfdc.tabName=01r500000003bNn.
The problem is that clicking the "activated" link yields this:
This site can’t be reached
<domain name>.visualforce.com’s server IP address could not be found.
<domain name>.visualforce.com’s server IP address could not be found.
In my case, it was a really big problem because the visualforce tab was the default home page. So activating the Critical Update essentially locked all of my users out of salesforce.com.
This also fails with a simple button link to a visual force page.
If you assign a url to a button or type the link in - /apex/TimeEntryCalendar for instance, it works fine when the update is deactivated.
But activate the update, and it fails on just the simple link.
Problem exists in both Classic and Lightning.
MAJOR SNAFU!
E.g. "https://companyname--c.visualforce.com/apex/Test_Page"
This is the message I get:
tccdx-dev-ed--c.visualforce.com’s server IP address could not be found.
Try running Connectivity Diagnostics.
DNS_PROBE_FINISHED_NXDOMAIN
So yes, the --c is in the link. But the page is not being served up.
Also, in your "My Domain" settings, what's your redirect policy? If it's set to "Not redirected (Recommended)", try changing it to one of the redirect options.
I try the various options on the redirect. Still no difference.
I tried pinging the new link for the visualforce page - https://companyname--c.visualforce.com/apex/Test_Page. Still get server not found.
I tried to reproduce this in another org, but apparently the critical update only applies to orgs that have specified a "My Domain."
1. Enable the critical update
2. Logout from Salesforce
3. Clear browser cookies
4. Close browser
5. Login again and access any custom VF Page
It worked for me.
I've cleared my cache and logged out and back in but are still seeing the issue. Have you had any luck?
My issues is described here:https://developer.salesforce.com/forums/ForumsMain?id=9060G0000005TyBQAU