Adding VF page - salesforce

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.

Related

visualforce page does not exist

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!

Contact Information on community Home tab

I have created a community and its landing tab is home tab.It only consist of home tab.I need to display the contact information on this home tab.
Can anyone help me with this? I also need to activate chatter for this community.How do I do this?
I have used home tab for chatter using custom link and components.I have used VF page to display contact information.

How to override a standard link in Salesforce

i have to override a standard link in Home Page layout .My screenshot of Home page layout is
i want to open my visualforce page when user click on link on left bottom Approve/Reject link.How to override its functionality please guideline.is this possible or not ??
Why do you want to override the existing link? You can add fields to the Approval page layout which gets displayed when the approver will click on Approve/Reject button, but you cannot override it.
You will need to create your own approval process if you absolutely need to show visualforce page on the link.

How to add additional portals to my DNN community edition site?

I know this is a very basic question - I have googled and every where it says - click the "Add New Portal" button/link on the Portals page.
However, I have a DNN community edition version 06.00.00 that is live and I do not see any option to add a new portal. Could this be a configuration issue? Do I have to change some settings to be able to get the option to add a new portal?
See the image of the Host menu and Portals page. I am unable to get the Add New Portal link:
In the menu shown in your first screenshot, you need to go to "Portals"
Then you will see a small semi-transparent button that says "Manage"(if not, make sure your view mode is set to "Edit" in the top right of the control bar
hover over it and a menu will drop-down and there will be your "add new site" or "add new portal" link
you need to make sure your page is in the EDIT view mode (selected in the top right of the page), then you will see a manage button appear when you hover over the sites on the portal page. Click the manage button and choose new site.

Adding Custom Button to a Salesforce Standard Page

How can a user that have Developer Account can add custom button to a standard page is there a way to do that. Because I couldn't find editing a button, adding a button or editing button's redirect URL for a standart visualforce edit page. i.e Opportunity creation form.
Your question is unclear :/
Your organisation is a "Developer Edition" (a free one to try out working on Force.com platform) or for example "Enterprise Edition" and your user Profile (a set of system permissions) is called "Developer"? In "Developer Edition" you probably are a System Administrator, so you have all the rights. In the later case - check if your profile has "Customize Application" permission for a start.
What do you mean by "standard visualforce edit page", there's no such thing. You mean standard page layout or do you have custom Visualforce Page that's used to edit opportunities?
Best guess answer:
You can go to Setup -> Customize -> Opportunities -> Buttons and Links, create there a "Detail Page Button" and when it's done - add it to the page layout(s) of Opportunities. If you don't see these options - you don't have permission to customize application.
BUT: none of the buttons added that way can be displayed on the "edit" page, which is a standard one with very limited customisation options. Only standard "view" page displays the extra buttons. There are some JavaScript tricks to inject content to "new/edit" (via section headers or sidebar)... But if you want the button to behave reliably best might be
to make a Visualforce page and override the actions.
What exactly this button should do?
You can not delete the standard button but you can edit it and override it with Visualforce page. You can find the all standard buttons for the opportunity are here. Setup-->App Setup --> Customize --> Opportunity --> Buttons and Links.
Form here you can either create any custom button or you can edit the standard button.
Note : If you are overriding standard page with Visualforce page then make sure that the Visualforce page is having standardcontroller as selected object i.e. here in this case is "Opportunity"
To add a custom button to a standard page go to Setup -> Customize -> Opportunity -> Buttons & Links. Click "New" custom button and link button.
Here is a good tutorial for adding javascript actions.
http://www.interactiveties.com/b_execute_javascript_button.php
If you wanted to override standard buttons with visualforce pages, create your page first, then on the same buttons and link page from above, select "Edit" on the action you want to override.

Resources