Can I switch my default editor to Snowsight? - snowflake-cloud-data-platform

I login via SSO and it loads up the classic UI. After SSO login I'm sent to specific url like https://company.us-east.snowflakecomputing.com/console#/internal/worksheet.
Is it possible for me in Snowflake to change my default editor from classic to Snowsight so it automatically loads after the SSO login? I'm not an Admin.

It is possible to change Default Experience under Profile:

Yes, this feature is available where the default landing UI would be
Snowsight instead of the current Classic UI. Please reach out to Support team to get more details on this.

Assuming there's nothing in your SSO setup to prevent this, if you log in using the following URL pattern, it should take you to Snowsight instead of getting there from the classic UI:
https://app.snowflake.com/<REGION>/<ACCOUNT>
Your sample URL will take you to the classic UI. To change it, go from this:
https://company.us-east.snowflakecomputing.com/console#/internal/worksheet.
To this:
https://app.snowflake.com/us-east/company

You just need to start with the correct URL for Snowsight on your account, rather than the URL for the classic UI, which us what you are showing in your question
Unless your set-up is unusual (and not pure SSO) then SSO doesn’t change URLs - it just returns you to your original URL once you have logged in.

Related

Salesforce Lightning - how to set nooverride for Lightning, but retain override in Classic

We are planning to migrate our users from Classic to Lightning with a phased roll out. That means we need to retain all the behaviours of Classic and Lightning in parallel for a period of time.
That's working well, except for Button Overrides. There doesn't appear to be a way of configuring Lightning to use the standard edit behaviour, while Classic retains an edit form override. For classic the options available are No Override, Custom S-Control and Visual Force Page. However, the only options available for Lightning are Lightning Component or Use the Salesforce Classic override. There's no option for No Override.
We tried writing a custom Aura component to re-direct to the edit page with ?nooverride=1 but that doesn't work - the user is re-directed, but once the edit page is closed and saved, the user is left on a blank page, not re-directed back to the view of the edited page.
Does anyone have a workaround, or explanation as to why this seems not to be possible ?
whenever you specify a Url as a retURL parameter Salesforce will redirect to that url.
Now in Salesforce Classic view page means xxx.salesforce.com/IdOfRecordToView so You can try retURL parameter in URL with the value of Salesforce Record id which you are editing
example : xxx.salesforce.com/a010000000000qn/e?retURL=%2Fa010000000000qn&nooverride=1

Do something before logout in salesforce apex?

Is it possible to customize or override the salesforce logout method in apex? I want to do some thing custom when user goes to logout salesforce account.
enter image description here
You screenshot shows the standard logout link which can not be customized.
You can customize the "logout" flow in a community using custom code by having a custom logout link which calls a controller action which wraps the standard logout function but this is only in a case where you are not using the standard header and can implement a custom link for logging out.
The logout flow of salesforce is a standard anchor tag call with a href to a link. If you inspect the element you can see that.
Logout
Unfortunately, there is no controller where the control comes after a click of the LogOut option. The only way you can get some control is, if you customize your logout URL and make salesforce redirect to it after it logs itself out. In that way, you can solve the branding issues but can not do anything related to the user as the user context is lost as soon as salesforce logs out itself.
Though in the idea forum there are ideas for doing that but looks like Salesforce is not doing anything in that front.
Hope this helps.

Lightning experience deep link to custom Visualforce tab

Do you know if it is possible to deep link a custom tab on the left hand navigation?
In my web app I allow the user to login through SSO from Salesforce ( so I use salesforce as authentication provider ), than when the user credentials are ensured i redirect the user to the tab using an aspex url like the following:
https://{domain}/apex/{VisualforceTabsName}?sfdc.tabName={VisualforceTabsRef}
or a servlet integration link like the following:
https://na15.salesforce.com/servlet/servlet.Integration?lid={lid}&ic=1&linkToken={linkToken}
I got those links simply right clicking the tabs and copy the link, now this is not going to work on the new ligthening experience where the link is something like the following;
https://gs0.lightning.force.com/one/one.app?source=aloha#{token}
Now it seems to me that the token in this case is user specific, so it can't be used as high level reference to the Visualforce tab.
Do you know if there is a way to do the same in the Lightening Experience (Spring 16' release)? Or if there is a different way to achieve the same result?
Thanks
In Lightning Experience, you can reference custom tabs using the developer name of the tab (note that this is the API name of the tab containing the Visualforce page, not of the page itself). This URL should work:
{domain}/lightning/n/{tabName}
This assumes that you have already created a tab for your Visualforce page.

Redirect after registration in Dotnetnuke

DNN: 07.00.06
Using the standard DNN registration form, redirection does not take place. I have my registration page permission so that registered users cannot view it, so after a new user signs up, they're greeted with a "You do not have access to view this page within the website" message.
I turned off partial rendering and added javascript to search for this message and redirect to the homepage accordingly but it's a bit of a hack job.
I have set the redirect after registration to the home page specifically in the settings. Tried other pages, tried turning it off.
I do see this was a bug in the DNN tracker, but does anyone know of a cleaner workaround? I don't want to use a third party registration module for this purpose.
Thank you!
I seem to recall earlier versions of DNN7 had problems with redirect after registration. I would encourage you to try the latest DNN release.

how to set visual force page as default in salesforce

I have a requirement that there is a user with particular profile and if he logs into the salesforce account, I want that he should be directly shifted to a visual force page. I tried to replace home tab with visual force page. But in profile this option is not editable. What I can do to accomplish this.
You could create a new "app". Apps are pretty much just sets of tabs (with exception of special stuff such as Service Cloud Console). In app you can define that there should be no home page, instead your visualforce (as a tab) would be added and marked as default landing page. Then you'd share this app with his profile and revoke access to other apps?
People can still add/remove tabs they wish to see in each app though so somebody might override your configuration.

Resources