• Paul McMurrugh
  • NEWBIE
  • 40 Points
  • Member since 2014
  • Salesforce Developement Manager
  • Bruntwood


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 7
    Replies
Hello,
I have created a Visualforce email alert when a new event has been created. But the event time in the subject and email body don't match.

User-added image
I think it's because the time is in GMT in the email body and we are on BST in the UK now.

I have also created a custom field called 
Start Date Time Text that pulls through the date as text, formula below;

TEXT( DAY( ActivityDate ) ) & "/" & TEXT( MONTH( ActivityDate ) ) & "/" & TEXT( YEAR( ActivityDate ) ) & " " & MID( TEXT(ActivityDateTime), 12,5) 

This doesn't display correctly either, same issue?

User-added image

Anyone know how to resolve the time zone issue? Both company and user time zones are set to BST.

Thanks,

Paul
Hi all,

I would like to know if there is a Visualforce condition based on how many characters there are? I would like to make some text smaller if it goes over 30 characters in length.

Thanks!
Hi all,

I am trying to create a bullet point list in a table in Visualforce. See below for my current code. I would like bullet points where every time where I have noted ***.
 
<table style="float: left" border="0" cellpadding="8" cellspacing="0" width="100%">        
<tr >
<td width="50%">
<b><span style="font-size: 11pt;">Take your seat</span></b><br/>
Your space at&nbsp;<apex:outputText value="{!Proposal__c.Building__r.Name}"/>&nbsp;comes with everything you need to get started as soon as you move in - all included in the price:<br/>
<br/>
*** Office furniture package including desk and adjustable office chair.<br/>
<br/>
*** Telephony package including 2,000 minutes per month and a handset.<br/>
<br/>
*** High speed, fully inclusive internet package with optional upgrade to 100mb line.<br/>
<br/>
<b><span style="font-size: 11pt;">Join the&nbsp;<apex:outputText value="{!Proposal__c.Building__r.Name}"/>&nbsp;community</span></b><br/>
When you move into&nbsp;<apex:outputText value="{!Proposal__c.Building__r.Name}"/>, you get more than just workspace. You’ll be able to move into an active community made up of like-minded businesses.<br/>
<br/>
*** Customer Steering Group to give you a say in the running of the building.<br/>
<br/>
*** Community Engagement Manager to build the&nbsp;<apex:outputText value="{!Proposal__c.Building__r.Name}"/>&nbsp;community.<br/>
<br/>
*** Onsite customer service team.<br/>
<br/>
*** Regular programme of business, social and wellbeing events.
</td>
<td width="50%">
<b><span style="font-size: 11pt;">The Bruntwood Way</span></b><br/>
We prefer to think of ourselves as your property partner, not your landlord. When your business succeeds, our can too so that’s why we work hard to provide the best service possible.<br/>
<br/>
*** <b>Peace of mind</b><br/>
We own and manage all of our own buildings so you can be sure there will always be a member of the Bruntwood team on hand to help.<br/>
<br/>
*** <b>Flexibility</b><br/>
As your business grows you can move around the Bruntwood portfolio whenever you need more space - even if your current contract hasn’t ended.<br/>
<br/>
*** <b>Value for money</b><br/>
Managing our buildings ourselves means that we can often provide more cost effective solutions across our range of properties.<br/>
<br/>
*** <b>Responsible</b><br/>
From recycling to improving energy efficiency, we take our commitment to the protecting the environment seriously. We believe we are good people to do business with and always work with suppliers who are too.
                                  
</td>
</tr>                       

</table>
Any help would be greatly appreciated.

Thanks,

Paul
 
I am trying to create a global action which pulls through the current record ID wherever it is used.

So far I have the following;

"https://bruntwood.my.salesforce.com/" & Account.Id

Now this works fine when the action is used on an account, but not any other object. How do I relate it to the current link without having to create a separate action for each object?

Many thanks,

Paul
Hi,

As Chatter isn't available for partner portals users, I am trying to create a Visualforce page that displays the Chatter Feed for a record so they are able to view it.

Is this achievable?

Thanks.
Hi, I some text displaying in a Visualforce page like this;

User-added image
I want to align the paragraph and the title like this;

User-added image
How do I do this?

Thanks
Hi, I have table on a Custom Object Visualforce page and what to reference the Contract Number on it. I'm having trouble getting this to show on there as the Custom Object isn't directly related to Contracts (but Contracts does appear as a Related List on there).

How do I get the Contract Number to appear on my Visualforce page?

Thanks.
Hi,

I have a Visualforce page containing a table (left) and a Static Resource (right). I want these to appear side by side on the page, so that the Static Resource fits into the gap to the right of the table. How can I achieve this?

Cheers.

User-added image
Hello,
I have created a Visualforce email alert when a new event has been created. But the event time in the subject and email body don't match.

User-added image
I think it's because the time is in GMT in the email body and we are on BST in the UK now.

I have also created a custom field called 
Start Date Time Text that pulls through the date as text, formula below;

TEXT( DAY( ActivityDate ) ) & "/" & TEXT( MONTH( ActivityDate ) ) & "/" & TEXT( YEAR( ActivityDate ) ) & " " & MID( TEXT(ActivityDateTime), 12,5) 

This doesn't display correctly either, same issue?

User-added image

Anyone know how to resolve the time zone issue? Both company and user time zones are set to BST.

Thanks,

Paul
I am trying to create a global action which pulls through the current record ID wherever it is used.

So far I have the following;

"https://bruntwood.my.salesforce.com/" & Account.Id

Now this works fine when the action is used on an account, but not any other object. How do I relate it to the current link without having to create a separate action for each object?

Many thanks,

Paul
Hi, I have table on a Custom Object Visualforce page and what to reference the Contract Number on it. I'm having trouble getting this to show on there as the Custom Object isn't directly related to Contracts (but Contracts does appear as a Related List on there).

How do I get the Contract Number to appear on my Visualforce page?

Thanks.
Hi,

I have a Visualforce page containing a table (left) and a Static Resource (right). I want these to appear side by side on the page, so that the Static Resource fits into the gap to the right of the table. How can I achieve this?

Cheers.

User-added image