I am trying to create a public Visualforce page that contains a dashboard.
I have tried the iframe method but it upsets the companies CSP. Surveys__c is the object.
Running this code gives me a completely blank page. It is not pulling anything from the dashboard.
<apex:page sidebar="true" standardController="Surveys__c">
<dashboard dashboardId="01ZU0000000kWl3MAE"
showTitle="true"
/>
</apex:page>
I would like to have a publicly accessible visual force page that displays the interactive data
To show your dashboard into visualforce page You can use Component.
You will first need to add report and add chart in report to how it on a Visualforce page.Helpful link - https://developer.salesforce.com/docs/atlas.enus.pages.meta/pages/pages_compref_analytics_reportChart.htm
https://automationchampion.com/tag/analyticsreportchart/
You can even customize dynamic dashboard by writing apex class and make use of different Charts of Visual force
Link - https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_charting.htm
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_charting_example.htm"
Related
I have created a lightning web component and added this on the detail page of the account as quick action. As I need to open new page with that lwc component on click on that quick action so I created a lightning page through lightning app builder and added created lwc component there.
In the lwc component I am simply fetching data from one custom object and showing that. When I login with one of the salesforce profile then it's showing error Page doesn't exist.
I have debugged and found that the lightning page's tab's visibility is hidden and it's not showing through quick action. If I change visibility to default off then it's started working.
Can anyone please suggest me what I am doing wrong here. Any help will be appriciated.
Thanks
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.
I have created a custom Object in Salesforce. Now to save values in that what should i use Page layouts or a visualforce page and apex controller? in other way- When should we use page layouts and when the visualforce pages should be used?
Page layout is a built-in standard mechanism for displaying information to user. You can use Page layout editor without any development experience, just drag-and-drop. If you need a simple form which just shows field value and related records you have to use a page layout. But sometimes you need to use JavaScript, custom HTML tags, CSS on you page in this case you have to use VisulaForce pages which are similar to JSF or any similar technologies. Also note that you can include VisualForce inside standard page layouts.
How to display a Visualforce page in Salesforce1 without using a tab. What is the URL to be provided in the href attribute?
The following do not work:
/apex/VF_Pagename
{!URLFOR($Page.VF_Pagename)}
Using the above URLs styles the page more like a browser. I want the header bar of salesforce1 visible.
Since Salesforce1 doesn't support the /apex/Page style of redirecting to VF Pages, I think you'll want to consider using custom Publisher Actions to surface your VF Page. These can either be at the record level or the global level.
http://help.salesforce.com/apex/HTViewHelpDoc?id=actions_overview.htm
Visualforce pages can surface in Salesforce1 as:
++ Tab in the Navigation Menu
++ Mobile card in a record view
++ A mobile card in the related information page
++ In a publisher action layout
If you're worried about styling a custom VF page, consider using the styling from the Mobile Design Templates: https://developer.salesforce.com/en/mobile/services/mobile-templates/templates-faq.
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.