• djfubar
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 11
    Questions
  • 3
    Replies
Hi,

Does anyone know how I can add the nav bar componenet to a custom theme layout? Do I need to create a custom component like the link below describes for search and profile:-

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_builder_search_and_profile.htm

Ive tried the below but the nav bar dosnt get rendered:-

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_builder_theme_layout.htm

Hi,

 

I have a component which consists of 2 inputf ields. What is the easiest way to retrieve the values enetred in these fields from the parent VF Page?

 

code example

//VF Page
<apex:page>
    <c:testcomponent/>
</apex:page>

//Component
<apex:component controller="testcontroller">
<apex:inputText value="{!input1}"/>
<apex:inputText value="{!input2}"/>
</apex:component> 

 

 

Thanks

Hi,

 

Is it possible to return a page message to the visualforce page if an exception occurs on the get accessor os a property?

 

//Apex Code

public String appDate {get; set;}

public List<selectOption> Dates{
get {
return GetDates();
}
set;
}

 

public List<selectOption> GetDates() {

 

try{

 

//do something here

 

}

catch(Exception e)

{

ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error,e.getMessage()));

return null;

}

}

 

//VF Page Code

<apex:page sidebar="false" title="Date Selector">
<apex:form >
<apex:pageBlock title="Date Selector" mode="edit">
<apex:pageMessages />
<apex:pageBlockSection title="" columns="1">
<apex:pageBlockSectionItem >
<apex:outputLabel value="Dates" for="appDate"/>

<apex:selectList id="results" size="1" value="{!Date}" label="Date" styleClass="select">
<apex:selectOptions value="{!Dates}"/>
</apex:selectList>

</apex:pageBlockSectionItem>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>

Hi,

 

I've been looking at migrating our sales order process from Visualforce pages to Visual Flows but have come across the following limitations.:-

 

1. Render fields on selection of dropdown, radio, check box values

2. Add custom buttons i.e. cancel button

3. Ability to add Attachment fields

4. 2 column field layouts

5. Add Page Block Sections to screen layouts

6. Display multiple results through a datatable or similar

7. Render Page Block messages

 

Does any know if there is workarounds for these limitations or if they are on the Salesforce Visual Flow road map?

 

Im under the impression that Visual flows are currently designed for basic submissions of data?

 

Thanks

Pete

Hi,

 

Does anyone know how to script a quadrant graph using visualforce?

 

I have tried to utilise the scatter graph with no luck. The end goal is something similar to the below quadrant. 

 

Gartner Magic Quadrant - SFA and CRM - presented by CRM professionals in Los Angeles and Santa Monica California

 

Thanks

Pete

Hi,

 

I am attempting to call an external web service from Salesforce.

 

The issue I am having is that the web service server does not have a valid certificate so am getting the following exception:-

 

java.security.cert.CertificateException: No subject alternative names present

 

I know in java/.net there is a classes which allow you to ignore certificate verification. Is there anything that we can do similar in Salesforce?

 

Thanks

Hi,

 

Does anyone if it is possible to override the cloud scheudler screens? I would like to add the activity type field to the first screen (next to the where field).

 

If this is not possible can anyone suggest any workaorund to update the meeting with the activity type?

 

Thanks

Hi All,

 

On my custom "add opportunity product" VFpage I currentyl call a method in my custom controller (priceBookCheck) in the page action.

 

This works fine but I now need to add an if statment to the page action to ensure that the system administrator can only run the new VF page.

 

The following works:-

action="{!if(($Profile.Name == 'System Administrator'),
null,
urlFor($Action.OpportunityLineItem.AddProduct, Opportunity.Id,
null, true))}">

 

But I need to call the priceBookCheck method when the if statement is true. I have tried the following but get a syntax error

 

action="{!if(($Profile.Name == 'System Administrator'),
{!priceBookCheck},
urlFor($Action.OpportunityLineItem.AddProduct, Opportunity.Id,
null, true))}">

 

Does anyone know how to accompkish my goal?

 

Thanks

Hi,

 

I have a VisualForce page which currenlty binds to PDF. Does anyone know if it is possible to include the contact hierarchy of an account to the PDF?

 

Thanks

  • September 22, 2011
  • Like
  • 0

Hi,

 

I have a a custom button on a lead record which currently executes some JavaScript. Is it possible to add a loading animation gif whilst the JavaScript is processing? Or is there a different way to do this?

 

Thanks

Hi,

 

I have a custom button on the account page which executes some javascript and redirects to another website.

 

On return I want it to return to a specific opportunity. I can return to the account record without any issues (see below):-

 

window.location.href = 'http://www.google.com&retURL={!URLENCODE('https://cs1.salesforce.com' + URLFOR($Action.Account.View, Account.Id))}

 

But when I change the Action to Opportunity I recieve "Invlaid parameter for function URLFOR" (code for this is below)

 

window.location.href = 'http://www.google.com&retURL={!URLENCODE('https://cs1.salesforce.com' + URLFOR($Action.Opportunity.View, Account.OppID__c))}

 

Is it not possible to use the URLFOR function for this scenario?

 

Any help would be great!!

 

Thanks

Pete

Hi All,

 

On my custom "add opportunity product" VFpage I currentyl call a method in my custom controller (priceBookCheck) in the page action.

 

This works fine but I now need to add an if statment to the page action to ensure that the system administrator can only run the new VF page.

 

The following works:-

action="{!if(($Profile.Name == 'System Administrator'),
null,
urlFor($Action.OpportunityLineItem.AddProduct, Opportunity.Id,
null, true))}">

 

But I need to call the priceBookCheck method when the if statement is true. I have tried the following but get a syntax error

 

action="{!if(($Profile.Name == 'System Administrator'),
{!priceBookCheck},
urlFor($Action.OpportunityLineItem.AddProduct, Opportunity.Id,
null, true))}">

 

Does anyone know how to accompkish my goal?

 

Thanks

Hi,

 

I have a VisualForce page which currenlty binds to PDF. Does anyone know if it is possible to include the contact hierarchy of an account to the PDF?

 

Thanks

  • September 22, 2011
  • Like
  • 0

Hi,

 

I have a custom button on the account page which executes some javascript and redirects to another website.

 

On return I want it to return to a specific opportunity. I can return to the account record without any issues (see below):-

 

window.location.href = 'http://www.google.com&retURL={!URLENCODE('https://cs1.salesforce.com' + URLFOR($Action.Account.View, Account.Id))}

 

But when I change the Action to Opportunity I recieve "Invlaid parameter for function URLFOR" (code for this is below)

 

window.location.href = 'http://www.google.com&retURL={!URLENCODE('https://cs1.salesforce.com' + URLFOR($Action.Opportunity.View, Account.OppID__c))}

 

Is it not possible to use the URLFOR function for this scenario?

 

Any help would be great!!

 

Thanks

Pete