• cozimek
  • NEWBIE
  • 0 Points
  • Member since 2006

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies

Hi folks,

 

We're trying to create a way that would allow a person reading an HTML email to view an image with a path like this:

 

<img src="http://johndoe-dev-developer-edition.na12.force.com/public/?id=123462324" />

 

When that link is accessed, we immediately want the associated APEX code to update the related record, but also immediately display a gif image to the reader.  So far, we've done lots of research but nothing seems to work.

 

We have the base64 code for the image we'd like to display as well, and have tried making a VF page with contenttype="image/gif"

 

Base64 code:  R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==

 

Any ideas or suggestions would be greatly appreciated.

 

Cheers

Hi folks,

 

We're using a dev environment of the non-profit starter pack, and we're trying to fire a trigger that updates the opportunity contact role record's Role and IsPrimary values immediately upon conversion from a lead record.

 

If we understand everything correctly, we're unable to grab the value of the opportunity contact role on insert of the new opportunity. It seems like the reason for this is because when the Opportunity trigger fires upon "after insert", the opportunity contact role isn't created yet.  Therefore, our opportunity trigger can't find a related opportunity contact role, and errors out.  Interestingly, if there are other opportunity records, and we make our query generic enough, our trigger does properly update the Role and IsPrimary values...of another opportunity.

 

I've read that by unchecking the lead converstion setting (Your Name | Setup | Customize | Leads | Settings) for "Enable Validation and Triggers from Lead Convert" you can make sure that the opportunity contact role is created before any "after insert" triggers are fired, but it still doesn't seem to work.

 

Has anyone run into this problem?  How are we supposed to set a contact role on the insert of an opportunity if we can't fire a trigger to make this happen on the Opportunity object and there isn't a way to fire a trigger on the OpportunityContactRole object?

Cheers,

Ryan 

Hi folks,

 

We're trying to create a way that would allow a person reading an HTML email to view an image with a path like this:

 

<img src="http://johndoe-dev-developer-edition.na12.force.com/public/?id=123462324" />

 

When that link is accessed, we immediately want the associated APEX code to update the related record, but also immediately display a gif image to the reader.  So far, we've done lots of research but nothing seems to work.

 

We have the base64 code for the image we'd like to display as well, and have tried making a VF page with contenttype="image/gif"

 

Base64 code:  R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==

 

Any ideas or suggestions would be greatly appreciated.

 

Cheers

Hi folks,

 

We're using a dev environment of the non-profit starter pack, and we're trying to fire a trigger that updates the opportunity contact role record's Role and IsPrimary values immediately upon conversion from a lead record.

 

If we understand everything correctly, we're unable to grab the value of the opportunity contact role on insert of the new opportunity. It seems like the reason for this is because when the Opportunity trigger fires upon "after insert", the opportunity contact role isn't created yet.  Therefore, our opportunity trigger can't find a related opportunity contact role, and errors out.  Interestingly, if there are other opportunity records, and we make our query generic enough, our trigger does properly update the Role and IsPrimary values...of another opportunity.

 

I've read that by unchecking the lead converstion setting (Your Name | Setup | Customize | Leads | Settings) for "Enable Validation and Triggers from Lead Convert" you can make sure that the opportunity contact role is created before any "after insert" triggers are fired, but it still doesn't seem to work.

 

Has anyone run into this problem?  How are we supposed to set a contact role on the insert of an opportunity if we can't fire a trigger to make this happen on the Opportunity object and there isn't a way to fire a trigger on the OpportunityContactRole object?

Cheers,

Ryan 

Does anyone know anything about the forthcoming integration between Joomla and SalesForce being designed by Picnet?
 
I have tried to contact them with regards to the tool, but have heard nothing yet.
 
 
Regards,
Warren