• mstev45
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 11
    Replies

We are starting to send out mass emails from our Salesforce organization. I would like the people receiving the emails to be able to opt out of receiving mass emails. I has a look around for methods of doing this and found this, https://emea.salesforce.com/help/doc/en/code_inbound_email.htm . Example 2 on the page is pretty much what i am looking for. So i copied the code from that page and set up a class in my salesforce called unsubscribe and pasted in the code. I then setup and email service that used this class. I tested this out by sending an email from my outlook to the email address it provided me with and put unsubscribe in the subject, however, it doesnt seem to work and im not sure why.

 

I have also created a workflow so when EmailOptOut is set to true it sends the contact an email saying opt out successfull. I am under the impression that i dont have to create a workflow and could include this in the unsunsbribe apex code, is this correct?

 

Any help would be great.

 

Matt 

Hi, i am new to using visualforce and i am trying to create a detail page to overright the current detail page for a custom object. The custom object contains a picklist field containing 3 values. I have created a custom formula field using Image and Case to display the values in the picklist as images in the detail view. the formula in the field is:

 

IMAGE(
CASE( Status__c ,
"Not Received","https://emea.salesforce.com/resource/1242640894000/RedFlagStatus",
"Received", "https://emea.salesforce.com/resource/1242641297000/YellowFlagStatus",
"Checked","https://emea.salesforce.com/resource/1242641338000/GreenFlagStatus",
"Status"),
"Status") 

 

 In my visualforce page i am using <apex:outputField value="{!CustomObject__c.Status__c"/> to display the custom formula field. However the imgae is not displaying, instead it has, <img src="https://emea.salesforce.com/resource/1242641297000/YellowFlagStatus" alt="Status" border="0"/> in the field output. If anyone can help with how i should display the picklist values as images on the detail page of a record then that would be great.

 

Matt.

Hi, i am very new to visualforce.

 

What i am trying to create is a custom button on a detail page of a custom record. When the user clicks on the button i want it to view the the record as PDF format. I know how to create the button and then load a visualforce page, and i know there is the renderAs="pdf" function. What i am struggling with is how to show all display the fields from the record in the pdf page.

 

Any help on this would be great.

 

Matt

We use a standard naming protocol when naming records on a standard object, i.e. Account Name - Date

 

I am trying to create a workflow, so that when a user creates a new custom object record and doesnt put the account name into the custom object Name field then a workflow is triggered. I want the workflow to update the name field to include the account name field + a date field + whatever was saved in the date field.

So the workflow would trigger if the 'Name' field does not contain 'Account' field, but i am struggling to put this into formula terms.

 

Am i going about this the correct way, or should i be using a trigger for this?

 

Any help would be great.

 

Matt

Message Edited by mstev45 on 05-08-2009 08:36 AM

I have a Custom Object called 'Vessel'. In the custom object there is a lookup field to Accounts, so that vessels owned by that account are displayed on the Account page in a related list. I have another field on the Vessel object called Vessel Manager. What i want to do is create a cross-object formula field on the account page so that If the field Vessel Manager contains a certain value, the formula field on the account page is set to a value. I cant seem to create a cross-object formula that will work though.

Any suggestions??

 

Matt

Hi, i am very new to visualforce.

 

What i am trying to create is a custom button on a detail page of a custom record. When the user clicks on the button i want it to view the the record as PDF format. I know how to create the button and then load a visualforce page, and i know there is the renderAs="pdf" function. What i am struggling with is how to show all display the fields from the record in the pdf page.

 

Any help on this would be great.

 

Matt

I have 4 fields that I need to put together in a long string...

 

A picklist field and 3 text fields... what I would love to do is have the output in either a URL field/Formula field, or just a text field... I initially thought that it would be field + field, then I saw the error of my ways as the + is addition :)

 

The output would in theory be (picklist)(text field 1)(text field 2)(textfield 3) with no spaces, the picklist field is a list of multiple URL's that the user can select...

 

any help would be appreciated :)

I am using a tab panel to reorganize an Account page.  The issue is that now users cannot leverage the inline editing functionality within the details page (e.g. click on a field to edit).  Can this be turned on somehow?

 

 

<apex:page standardController="Account" showHeader="true" tabStyle="account"> <apex:tabPanel switchType="client" selectedTab="name2" id="theTabPanel"> <apex:tab label="Details" name="AccDetails" id="tabdetails"> <apex:detail relatedList="false" title="true"/> </apex:tab> <apex:tab label="Contacts" name="Contacts" id="tabContact"> <apex:relatedList subject="{!account}" list="Contacts" /> </apex:tab> <apex:tab label="Opportunities" name="Opportunities" id="tabOpp"> <apex:relatedList subject="{!account}" list="Opportunities" /> </apex:tab> <apex:tab label="Projects" name="Projects" id="tabProj"> <apex:relatedList subject="{!account}" list="Projects__r" /> </apex:tab> <apex:tab label="Open Activities" name="OpenActivities" id="tabOpenAct"> <apex:relatedList subject="{!account}" list="OpenActivities" /> </apex:tab> <apex:tab label="Activity History" name="ActivityHistory" id="tabActHist"> <apex:relatedList subject="{!account}" list="ActivityHistories" /> </apex:tab> <apex:tab label="Notes and Attachments" name="NotesAndAttachments" id="tabNoteAtt"> <apex:relatedList subject="{!account}" list="NotesAndAttachments" /> </apex:tab> <apex:tab label="Expenses" name="Expenses" id="tabExp"> <apex:relatedList subject="{!account}" list="Expenses__r" /> </apex:tab> </apex:tabPanel> </apex:page>

 

 

 

  • April 22, 2009
  • Like
  • 0

I'm trying to find information about how this app works in practice.

http://sites.force.com/appexchange/apex/listingDetail?listingId=a0N300000016ciJEAQ

 

We're on professional edition and the app information is unclear if it will work or not.  The App name implies that it won't work on professional edition, but the specs say otherwise.

 

I'm also a little skeptical that it's free.  It looks like a lot of development went into this product but why is it free and fully hosted on salesforce?  How does the publisher make money?

 

 

Message Edited by davemaxg on 04-16-2009 08:33 AM

Hi, I can't get Salesforce to import dates.  I did my trial import and 5 out of 6 date of births failed.  I have changed the excel formular to be the same as the help and training format of:

m/d/yyyy h:mm AM/PM

but still have issues.

Any help would be VERY appreciated!

Thnaks!

I have a Custom Object called 'Vessel'. In the custom object there is a lookup field to Accounts, so that vessels owned by that account are displayed on the Account page in a related list. I have another field on the Vessel object called Vessel Manager. What i want to do is create a cross-object formula field on the account page so that If the field Vessel Manager contains a certain value, the formula field on the account page is set to a value. I cant seem to create a cross-object formula that will work though.

Any suggestions??

 

Matt

I have a custom object i created.

It has an Account(Master Detail) field

It also has a Text Area field.

 

When a user selects an Account I want to fill in the Shipping Address of the Account selected into the Text Area field?

 

Would I use a VLookup() or something else? how would I do that?