visualforce page does not exist - salesforce

I am trying to create some visualforce pages. But I can watch result. In each page which I create I see text: Page does not exist. Is is very simple page with one "h1" tag. And when I press buttob "preview" I get string: "Page testPage does not exist". Anybody knows Why I can preview my pages?

When you create a new VF page from setup in salesforce, it creates a placeholder which you can edit but until you save that page it will not be available for you to view. So please go ahead and click 'save' or 'quick save' or use 'Ctrl+s'.
Reference Image
After that the preview button will work.
Have a great day!

Related

Visualforce page popup window

I have a visualforce page (chat app) in my salesforce classic org. I want to use this as chat popup for every page in salesforce. How can I achieve this?
You can find the one and only solution to open a custom popup on this page : https://blog.jeffdouglas.com/2011/08/12/roll-your-own-salesforce-lookup-popup-window/
You can do this only from a Visualforce page, as you need to override a function call with Javascript code.

Adding VF page

How to add a Vf page to a profile? I am trying to add a VF page to a Vendor user.
Can anybody help me solve this problem.
Thanks
Anu
In Salesforce, just navigate to Setup -> Administration Setup -> Manage Users -> Profiles. Open up your profile, but do not click Edit yet. Scroll all the way to the bottom of the screen, to the section called "Enabled Visualforce Page Access". Click Edit in this area, and you can move pages from the left box to the right one to give that profile access.

how to create a custom splash page in salesforce?

Need to show a popup message in home page only for the first time a user logs into salesforce....
its more like a splash page.
it can be a jquery popup as well..
can i do it using a visualforce page ??? if yes, please give ur suggestions
can we do it using the sidebar component in salesforce ???
I thought of showing it using a sidebar component by keeping a custom field in user object...everytime he logs in i will check the custom field and the show the popup...since this popup will be shown only for the first time is there anyother better solution instead of querying the user object evertime..
thanks.
You can use window.open method of Javascript and for the sidebar provide your scroll option.
If you want to get fancy to have customized look you can just use jquery modal with some style on document ready.
We can use cookie to store if this is the first time or salesforce user object can tell you this is the first time

Can we make visualforce page as Home page in salesforce?

i want to make my visualforce page as home page in my sandbox.
So is it possible to make visualforce page as home page in salesforce.
I can think of two things that might work for you.
You can embed a Visualforce Page in your home page layout
Similarly, you could create an HTML area home page component with a little javascript that redirects from the home page to the visualforce page:
<script language="JavaScript">
window.location.replace("/apex/YourVfPage");
<script>
I don't think so.
What you can do is, build a visualforce page, create a tab for that, add that tab to your application and make that as the default tab.
As was mentioned above - one thing you can try is the following:
Create the visualforce page
Create a custom tab for that visualforce page called "Home" (or whatever you want to call it)
Remove the default "Home" tab from the list of tabs a user sees (can be done via customizing the tabs & profile editing)
Add your new Home tab to the user and make it their default tab
I believe that should accomplish what you're wanting to do.
No We can't make visualforce page as home page in classic in Lightning it is possible to make it as a home page.
or
you want to by click on the tab to display the visualforce page is possible using visalforce tab.

Joomla create html page with no menu

I have a normal article page with a huge image shown as a small one. What i want to do is, when the user click on the image, a new page is rendered and the image is shown at full size of the page (no menus, header, footer, etc.. just page). If the user click again, he will be redirected to the previous page.
How can i do this with joomla? I mean, i could create an html page, but i don't know how can i access it.
Any help would be appreciated,
RR
All you need to do is add this to any link you want to display without all of the module positions -
?tmpl=component
This tells Joomla to load just the component part of the page without anything else around it.
Not sure that anything specifically in Joomla is going to allow you to do that. The only way you can achieve that directly in Joomla would be using a light box type of plugin. When the user clicks the image, it will open up a full size window of the image. When the user click on the image again, it will exit the light box.
Otherwise, you can just edit the source code of the page, and change it to <img src="http://www.pathroyourimage.com/image.png"> . That way when a user clicks the image, they go directly to the picture.

Resources