Questions tagged [mydomain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
35 views

Is there a way to edit My Domain using apex?

I'm looking for a way to add or edit My Domain using Apex, not from the UI. Is there a way to do that? Thank you!
0
votes
0answers
333 views

Critical Update - Stabilize the Hostname for My Domain URLs in Sandboxes

In the critical update page it sates that - "Activating this critical update on a production org only applies the update to new and refreshed sandbox orgs." But in the release notes it ...
2
votes
2answers
381 views

What is the impact of enabling the critical update 'Route My Domains Through Salesforce Edge'?

Based on the documentation, it'll use Machine Learning to improve connectivity and performance --> so is this going to switch Salesforce login by default to Edge?
0
votes
0answers
44 views

SSO based on email address in a refreshed sandbox

We've set up SSO through My Domain and it matches user email. So when they attempt to log in through My Domain, as long as their SSO email match the SF email - they're in. If I check "prevent login ...
0
votes
1answer
38 views

How can we deploy custom My Domain name via metadata API?

Is there a way to deploy custom My Domain in Metadata API deployment using SFDX CLI?
1
vote
1answer
52 views

One package for the Classic and Lightning apps without My Domain

We have an app built for both Classic and Lightning UIs and we need to roll out it to the customers as one package. We do not want to force customer to set up the My Domain in each Orgs where they ...
0
votes
0answers
23 views

Any Customer Community effects from enabling My Domain?

We have a production instance that is not using My Domain. We built a new Customer Community in a sandbox and will be deploying it soon. However, now we also want to enable My Domain in production. ...
0
votes
1answer
28 views

How to expose webservice through domain

I am setting up an webservice which needs to be accessible from outside. I have created a domain and have my class a public. How do I give acces to the object? Apex @RestResource(urlMapping='/...
0
votes
1answer
73 views

Standard Login Page | Change Button and Link Color

I've turned on "My Domain" but am unable to change the color of the login button or "Forgot Your Password?" link. I don't see anything available in the My Domain screen. The settings for My Domain ...
4
votes
1answer
85 views

Redirecting to MyDomain URL

We set up SSO with Auth.Provider in Salesforce. We deployed My Domain and linked the auth provider to it. When a user navigates to the My Domain URL, they are automatically redirected to the auth ...
1
vote
1answer
61 views

My-Domain in Free Trial Org created from Appexchange

We have a listing on the Appexchange that offers a trial option for our ISV product. The trial works and creates the free trial orgs in the correct way. However, Orgs are generated without my-domain, ...
0
votes
0answers
28 views

Need To route to different SSO based on user checkbox

i have two sso setup in my org. 1.OneWay 2.TwoWay My requirement on each user there is a check box. If that checkbox is true then i need to route that user to OneWay sso login flow.If not then i ...
0
votes
1answer
111 views

I am getting error in test class because of saml is not enabled

I am getting this error- System.UnexpectedException: Salesforce System Error: 1757874930-20679 (1748552322) (1748552322) System.UnexpectedException: Salesforce System Error: 1757874930-20679 (...
1
vote
2answers
1k views

Get documentforce.com domain URL in LWC

I am rendering content document previews in my LWC component by placing <img src> tags into the DOM. The link i use looks like this: /sfc/servlet.shepherd/version/renditionDownload/?rendition=...
2
votes
1answer
40 views

How to retreive domain name from salesforce org

Select id,Domain from domain , this query does not return any records. I am trying to retrieve domain name in my salesforce org so that i can append it to that to any new user's username in ...
2
votes
0answers
96 views

How do I detect the scratch org “DomainNotPropagated” error from outside the org?

Every so often, when you create a new scratch org and attempt certain actions: Log in. Switch to Lightning Experience. Deploy Lightning components via SFDX or the Metadata API. you'll see an error ...
0
votes
0answers
89 views

Getting error while running test class-System.NoAccessException: Set up My Domain to access this page

i am into the situation where from Developer console my test class is getting passed but from UI -its with error 'System.NoAccessException: Set up My Domain to access this page.' Please suggest. ...
3
votes
1answer
57 views

Salesforce api.status.salesforce.com returns no data

I have registered a custom domain (My Domain) in my Enterprise Edition Org and I am able to successfully login through the custom domain url. Custom Domain: mobilecustomdomain URL: https://...
1
vote
1answer
303 views

Need help on Salesforce Login Discovery using My domain

requirement- When user enter username then it will redirect to SSO setup in salesforce and if user entered correct details then second sso needs to get called and if user enter correct credentials ...
2
votes
1answer
361 views

New domain marketing cloud

Hello everyone we just purchased marketing cloud , we were asked to buy a new domain for it so that our current one does get blacklisted ( ps: we couldn"t get a sub-domain of our current domain), ...
1
vote
1answer
253 views

Not able to install managed package in sandbox

I am getting the below error message while tried to install the Parley Pro package: Missing Organization Feature: CommonCsp There are problems that prevent this package from being installed. Note ...
1
vote
1answer
30 views

2 domains (generic and “my domain” ) available at the same time?

I am considering making the move to Lightning but am not completely committed. To test drive Lightning, I have created a "my domain" and it looks like it needs to be deployed before I can test a ...
2
votes
2answers
665 views

Does domain name change on salesforce new release

Does domain name change on salesforce new release. For example, currently we have following domain name: test--PCSandbox.cs12.my.salesforce.com. In the new Salesforce release, will the domain name get ...
0
votes
1answer
160 views

Custom domain is not working in salesforce

*I have created below CName in GoDaddy. CName: Host: www, Points To: mydomain.reg.[Organization Id].live.siteforce.com, TTL: 2000 SECONDS Txt : Host: @ , Points To: Salesforce Organization Id, TTL: ...
1
vote
0answers
37 views

Unable to login to org after registering my domain and deploying it to users

For previewing a lightning app I started with registering for my domain and deploying it to users. After this when everytime I try to preview the lightning app it kicks me back to the login page ...
0
votes
1answer
50 views

Enabling Mydomain

I am Enabling MyDomain in the prod org and I have few questions that I don't have answers for. The org is using formassembly for web forms. Will there be any disruption to this after enabling ...
0
votes
1answer
196 views

Updating MyDomain in Sandbox

Does updating MyDomain in the sandbox affect MyDomain settings in production? The documentation makes me think not, but it does noy explicitly callout whether the deploy to users buttons will deploy ...
1
vote
2answers
885 views

Are there any disadvantages to setting up My Domain?

I would like to install custom Lightning components in my organization, but according to https://help.salesforce.com/articleView?id=000214270&language=en_US&type=1 I need to set up My Domain ...
5
votes
1answer
329 views

Make package require My Domain

I've prepared a managed package that includes Lightning components, and the main one belongs to the FlexiPage that is shown when you open the application. I've installed it to a different org, but ...
1
vote
1answer
409 views

Do you HAVE to enable My Domain if you want to use Salesforce DX?

So as the title says - is it a MUST that My Domain is enabled in order to use SFDX/Salesforce CLI? I'm trying to persuade the business to move to SFDX but they have tonnes of integrations and ...
1
vote
0answers
79 views

Canvas app framing issue (how to define domain of RemoteAccessAuthorizationPage.apexp)

We implemented a tool which uses salesforce oauth. This tool should be included into an opportunity page as canvas app. First of all: The oauth2 workflow works fine when I open the tool in a new ...
2
votes
2answers
399 views

My Domain(Custom Domain) activation in Production

We are planning to activate My Domain in Production Org for developing lightning components. We have activated My Domain in Sandbox and conducting tests. We have checked for Hardcoded references to ...
0
votes
1answer
835 views

Right Frame URL not displaying

Using a My Domain login page, I want to display customized content in the right side. I made a simple page on one of our public Salesforce Communities. I confirmed that this works and displays ...
7
votes
2answers
497 views

Detect via Apex/Visualforce if org has MyDomain enabled

I have some customer orgs that still work on Classic and didn't enable MyDomain. This causes strange errors. Is there a way I can check with Apex if an org has a MyDomain enabled?
5
votes
1answer
332 views

Continuous Site Switching and My Domain

Our Salesforce Org is about to go through a site switch. https://help.salesforce.com/articleView?id=Site-Switching-Overview&language=en_US&type=1 We have a lot of instances of apex code ...
0
votes
1answer
393 views

How do i access custom my domain in apex [duplicate]

I want to access custom my domain in apex class. For e.g https://checkDB.my.salesforce.com is the domain. Is there any method to access this domain in class.
2
votes
1answer
3k views

How to get your Custom Domain Name if you have Mydomain enabled - using Apex?

I have registered my domain in Salesforce org I wanted to know how could I get domain name using apex. Suppose my domain is XXXX-dev-ed, I know we have URL.getSalesforceBaseUrl. but what I am looking ...
0
votes
0answers
82 views

Whitelist MyDomain Sandboxes

Now that I'm using MyDomain, I am noticing that sandboxes have a silly domain name associated with them (e.g., mydomain--sandbox.cs43.my.salesforce.com). I'd like to whitelist production and all ...
0
votes
1answer
355 views

Sandbox refresh with my domain

I read and checked that the "My Domains" of production orgs and sandboxes are managed separetely, which means that a specific domain can be available on a sandbox for a specific POD (ie. cs81) and not ...
3
votes
1answer
138 views

Why I need “Connect Salesforce Authenticator” during activation of “myDomain”?

I'm working on a Sandbox and I need to use Custom Lightning Components. Therefore I need to activate the myDomain feature. I've done that several times before, but today I get stuck in the process. ...
3
votes
1answer
734 views

Risks of deploying My Domain before the upcoming instance refresh?

We had Salesforce setup for our company by a vendor, but the vendor is no longer involved. Before the upcoming instance refresh, I'm trying Right now a few pressing questions are headed my way, and I ...
0
votes
1answer
211 views

Where can I find the deploy to users option after changing domain in my dev ed?

I didnt receive the activation email after successfully changing my subdomain (was able to log in using this new custom subdomain without activation email..) Reason I'm trying to deploy to users is I ...
3
votes
1answer
99 views

Can the My Domain feature support multiple domains

Salesforce Org has two companies using it - where one is a wholly owned subsidiary of the other. We now need to enable My Domain for Lightning components to work and have a business request that we ...
2
votes
2answers
1k views

Get instance domain in Custom Button

For my custom button with Content Source = URL I use following formula text to get instance domain: LEFT($Api.Partner_Server_URL_390, FIND('/services', $Api.Partner_Server_URL_390)) that returns "...
1
vote
1answer
67 views

domain name in our org

I'm trying to create a public site for my organization but I'm asked to register for a domain first. But when i click on my domains from setup, i see the below domain being used already. Can some ...
2
votes
1answer
2k views

What is the difference between My domain and sites domain?

I have recently started delving into sites and communities. I noticed that I need to have 'sites' domain to play around with communities. I just wanted to know what the difference is and how are they ...
0
votes
1answer
40 views

SSO Enabled, Forced Login via MyDomain. But as an admin am unable to login to my org

SSO Enabled, Forced Login via MyDomain. But as an admin am unable to login to my org. Is there any way I can login. Please help me out.
1
vote
0answers
119 views

Is it possible to login into different communities(multiple domains) from one apex controller?

Is it possible to login into different communities(multiple domains) from one controller? Is it possible to use Site.login() for this or there are different ways to do this? Issue is that SSO doesnt ...
3
votes
0answers
312 views

SSO with multiple domains. How to create Community Sessions for one portal user in salesforce?

There is multiple domains for the communities in the org. User have to be able to have an opportunity to log in into all communities via one. Example : Communities A,B. From external site_X User_1 ...
3
votes
0answers
60 views

Change custom domain login screen footer text © 2016 salesforce.com to © 2016 <my company>.com

I Have custom domain registered on my salesforce org and i have configured login page branding (customized logo and right frame URL) and that change the logo for multiple screens like forgot password, ...