• Rick_93
  • NEWBIE
  • 50 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 2
    Replies
Hi,

I want to call a Lightning Component event from a Visualforce page in a Community.

I've tried in this way
 
<div id="lightning" style=""></div>

<script>
$Lightning.use("c:TheApp", function() {
	$Lightning.createComponent("c:TheComponent", {},
		"lightning",
		function(cmp) {
			createdCmp = cmp;
			var myExternalEvent;
			myExternalEvent = $A.get("e.c:TheEvent");
			myExternalEvent.setParams({
				"p": 'p',
			});
		myExternalEvent.fire();
	});
});
</script>
It's working but it is not what I exactly want, because in this way the compnent is inserted in the page a runtime.

Is there a way to call the event without inserting the component a runtime, but inserting it in the page with the community builder ?

Thanks in advance.
Hi all,

I'm trying to deploy my Napili community from a sandbox to another.

I've followed the steps in this guide: http://blogs.perficient.com/salesforce/2015/12/22/deploy-community-builder-templates-in-3-simple-steps/.

This procedure does not take the changes made to the Navigation Menu.

Can I move also the navigation menu between the sadboxes, or I have to add manually the menu Item to the navigation menu?

Thanks in advance
Hi all,
I've a Visualforce Page for the Account entity.
I want to display the Account History Field Tracking using a simple related list.

I'm using the follow related list:
<apex:relatedlist list="AccountHistories" title="Account History" />
but I receive the error : AccountHistories is not a valid child relationship name for entity Account
 
While using the same logic for the Activity History, It's working fine.
<apex:relatedlist list="ActivityHistories" title="Activity History" />
Can anyone help me ?

Thanks in advance :)
Hi all,

is there a way to completely remove the left panel in the standard Salesforce pages ?

User-added image

I want the same effect of this code in the VisualForce pages:
<apex:page controller="MyController" sidebar="false" >
</apex:page>

Thanks in advance :)
Hi all,

I've a VisualForce page that is rendered as pdf.
<apex:page controller="Controller" applyHtmlTag="false" showHeader="false" cache="true" renderAs="pdf" >

...page body

</apex:page>
Can I append, in the page body, a new pdf file loading it from the Static Resources or from the Documents.

Thanks in advance.
 
Hi all, 

I'm trying to send an email using the  /_ui/core/email/author/EmailAuthor link, so I have the following page:

User-added image

Is there a way to change the page layout? For example I want to hide the 'Preview' button and the 'BCC' textarea

Thanks in advance :)
 
Hi all,

is there a way to disable the "Register your mobile phone" functionality ?

User-added image

Thanks in advance :) 
Hi all,

When I press the lookup button on a field, It shows only the recently viewed items.

Is it possible to show all the lookup items.

Thanks in advance
Hi all,

I have created a new Custom Object in Salesforce. This object has a lookup with the Account Object.

The problem is that in the RelatedList of this object in the Account Page, I see the standard field 'Created Date' with a Date Format.

Is it possibile to view this field with a DateTime Format ?

Thanks in advance.
Hi all,

is there a way to synchronize Salesforce with Outlook so that:
  • If I create an Event on Salesforce, I will retireve it on Outlook
  • If I create an Event on Outlook, I will retrieve it on Salesforce

Thanks in advance :)
Hi all,
I'm having a problem using the enhancedList.

I'm using this enhancedList:
<apex:enhancedList type="Account" height="600" rowsPerPage="25" customizable="false" id="AccountList" />
but the Last Page button is always disabled

User-added image

Can anyone help me ?

Thanks in advance.
 
Hi guys,

is there a way to access to a specific custom setting for the current profile directly from my Apex page ?

Thanks in advance :)
Hi,

I want to call a Lightning Component event from a Visualforce page in a Community.

I've tried in this way
 
<div id="lightning" style=""></div>

<script>
$Lightning.use("c:TheApp", function() {
	$Lightning.createComponent("c:TheComponent", {},
		"lightning",
		function(cmp) {
			createdCmp = cmp;
			var myExternalEvent;
			myExternalEvent = $A.get("e.c:TheEvent");
			myExternalEvent.setParams({
				"p": 'p',
			});
		myExternalEvent.fire();
	});
});
</script>
It's working but it is not what I exactly want, because in this way the compnent is inserted in the page a runtime.

Is there a way to call the event without inserting the component a runtime, but inserting it in the page with the community builder ?

Thanks in advance.
Hi all,

When I press the lookup button on a field, It shows only the recently viewed items.

Is it possible to show all the lookup items.

Thanks in advance
Hi all,
I'm having a problem using the enhancedList.

I'm using this enhancedList:
<apex:enhancedList type="Account" height="600" rowsPerPage="25" customizable="false" id="AccountList" />
but the Last Page button is always disabled

User-added image

Can anyone help me ?

Thanks in advance.
 
Hi guys,

is there a way to access to a specific custom setting for the current profile directly from my Apex page ?

Thanks in advance :)