• byrds
  • NEWBIE
  • 30 Points
  • Member since 2012

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

Hi

 

This might be a stupid question, but whenever I create a new account I need to customize the tabs shown from scratch, and it takes me a long time. Is there a way to just "clone" a new user and include the tab setttings from an existing user?

 

Thanks

Hello - I need a button on an Opportunity that will load data from the Opportunity to an email template and send email.

 

This is working - loads a template - (this template has no merge fields to load):

location.replace('/email/author/emailauthor.jsp?retURL=

     {!Contact.Id}&rtype=003&p2_lkid=

          {!Contact.Id}&template_id=00XE0000000lOIF')

 

Opens email - loads the email template - loads the to email address - The email body is on the template and loads fine.

 

I need to do the same as above but on the template - I needs to pull data from the Opportunity fields.  

I have everything mapped on the template to pull data from fields but nothing shows for the look up values.

If I load the template by searching the list rather than from just clicking the button, the template loads fine.

 

location.replace('/email/author/emailauthor.jsp?retURL=

     {!Opportunity.Carrier_ContactLUId__c}&rtype=003&p2_lkid=

          {!Opportunity.Carrier_ContactLUId__c}&template_id=00XE0000000yW6M')

 

Any ideas or help?

 

Thanks

 

 

 

 

 

 

  • March 21, 2013
  • Like
  • 0

I am new to Apex - Just completed the online SF Apex training, so please go easy on me.

 

I am trying to better understand Triggers so I have written some simple code to better my understanding.

 

Goal: When a new Assignment (custom object) is created or updated the trigger should create or update the record on  TestObject (another custom object) and bring over the field values 'Name', 'Waybill', 'Hello' from Assignment Obj.  

 

trigger TriggerOne on Assignment__c (before insert, before update) {

     

     list<TestObject__c> to = new list<TestObject__c> ();

     for (Assignment__c Ass :Trigger.new) { 

     to.add(new TestObject__c(Name = Ass.Truck__c
                               Waybill__c = Ass.Waybill_Number__c,
                                Hello__c = 'byrd'));
     }

     

     insert to;

}

 

 

The code runs with no errors.

 

First issue: Every time I update a field on the Assignment Obj that was created, the trigger fires and creates another record on the TestObj.

 

Second issue: The Truck field is a required lookup field on Assignment Obj and is writting some id string on the newly created record for TestObject rather that the actual truck number e.g.' a0EL0000000YvRJMA0' rather than '210'.

 

 

Thanks in advance for any help.

 

 

 

 

  • March 01, 2013
  • Like
  • 0
THANKS IN ADVANCE.
I AM TRYING TO GRAB THIS DATA FROM THE WEB, OUR URL IS SET UP WITH USERNAME AND PASS WORD.
THIS IS GPS DATA AND IS DYNAMIC SO WOULD CHANGE EACH TIME THE PAGE IS VISITED.
 
WOULD LIKE TO HAVE DATA POSTED IN TO SF CUSTOM OBJECT TO DISPLAY CURRENT STATUS OF EAVH TRUCK ON THEIR OWN RECORDS.
 
THANKS AGAIN
 
<Veh_Positions>
<Vehicle ivehicleid="353404016220052">
<data label="0210 Pablo Rodas" reg_number="832-274-3696" dtime="2012-08-15T19:10:11" flatt="29.738672" flong="-95.510833" heading="" speed="0.58" odometer="264821" event_type="Shutdown" event_code="202"driverid="0" vehicleid="353404016220052" gps="3" speed_mph="0.36" odometer_mi="164552.09" Driver="">
<pto/>
</data>
</Vehicle>
<Vehicle ivehicleid="353404016220063">
<data label="0247 Alfonso Quintanilla" reg_number="956-739-6923" dtime="2012-08-17T15:04:42" flatt="29.831770" flong="-95.208461" heading="" speed="0.07" odometer="50060" event_type="Shutdown"event_code="202" driverid="0" vehicleid="353404016220063" gps="3" speed_mph="0.04" odometer_mi="31105.83" Driver="">
<pto/>
</data>
</Vehicle>
<Vehicle ivehicleid="353404016220066">
<data label="0331 Juan Lopez" reg_number="832-217-0400" dtime="2012-08-17T19:59:05" flatt="31.135393" flong="-95.979401" heading="" speed="103.97" odometer="49514" event_type="Position" event_code="1"driverid="0" vehicleid="353404016220066" gps="3" speed_mph="64.60" odometer_mi="30766.56" Driver="">
<pto/>
</data>
</Vehicle>
  • August 18, 2012
  • Like
  • 0
LabelREQUEST LOAD STATUSObject NameAssignment
NameREQUEST_LOAD_STATUS  
BehaviorExecute JavaScriptDisplay TypeDetail Page Button
OnClick JavaScriptlocation.replace('/email/author/emailauthor.jsp?retURL={!Assignment__c.Name}&rtype=003&p2_lkid={!Contact.Id}&template_id=00XE0000000ozb9')
DescriptionButton used to text or email driver to request an update - Loaded - Waybill - Delivered

 

 

I can not get any info an email

template off of the custom Object "Assignment"

Any help please?

 
  • June 22, 2012
  • Like
  • 0

Hi,

 

  We have a shippping address in cases object. And we are looking for an App that can find the near by contacts(a map that displays all the nearby contacts of this address). 

Please advise!!!

 

Thanks!

Hi,

 

I am using CTI Toolkit to integrate CTI functionality in Salesforce. I want to enable single sign on in my application where agent logs into salesforce and will automatically be logged into his CTI account.

There is an option under “Personal Setup-> Call Center Settings-> My SoftPhone Settings-> Automatically log in to your call center when logging into salesforce.com”

 

Checking and un-checking the option doesn’t seems to change the behavior of the application. Do I need to do something specific to enable this option?

 

Regards 

Added a custom button on the Case Record that opens a new email. How do I get it to populate the email subject and body? This is the link that I added to the button:

 

https://na14.salesforce.com/_ui/core/email/author/EmailAuthor?htmlBody=hello+world&p2_lkid={!Contact.Id}&rtype=003&p3_lkid={!Case.Id}&retURL=%{!Case.Id}

 

Alternatively, is there any way to pass in a string variable from the URL that populates the subject & body value?  Not interested in using SFDC's email templates, since they cannot be modified before sending.

 

Thanks in advance for the help.

I am new to Apex - Just completed the online SF Apex training, so please go easy on me.

 

I am trying to better understand Triggers so I have written some simple code to better my understanding.

 

Goal: When a new Assignment (custom object) is created or updated the trigger should create or update the record on  TestObject (another custom object) and bring over the field values 'Name', 'Waybill', 'Hello' from Assignment Obj.  

 

trigger TriggerOne on Assignment__c (before insert, before update) {

     

     list<TestObject__c> to = new list<TestObject__c> ();

     for (Assignment__c Ass :Trigger.new) { 

     to.add(new TestObject__c(Name = Ass.Truck__c
                               Waybill__c = Ass.Waybill_Number__c,
                                Hello__c = 'byrd'));
     }

     

     insert to;

}

 

 

The code runs with no errors.

 

First issue: Every time I update a field on the Assignment Obj that was created, the trigger fires and creates another record on the TestObj.

 

Second issue: The Truck field is a required lookup field on Assignment Obj and is writting some id string on the newly created record for TestObject rather that the actual truck number e.g.' a0EL0000000YvRJMA0' rather than '210'.

 

 

Thanks in advance for any help.

 

 

 

 

  • March 01, 2013
  • Like
  • 0

Hi

 

This might be a stupid question, but whenever I create a new account I need to customize the tabs shown from scratch, and it takes me a long time. Is there a way to just "clone" a new user and include the tab setttings from an existing user?

 

Thanks

I am creating a report for a custom object called Charge__c, which has lookups into more custom objects.

 

Some of the custom objects show in the lefthand Fields list, and some don't. I've checked and all of the looked-up custom objects are allowed to show in reports.

 

What could be the problem here?

 

Thanks!

I start by going to the developer console and Choosing "Triggers" within the Setup Entity Type, then below, I choose a Type from the selection list and click the "New" button to the left of the list. After thinking for a few seconds, the platform responds with a window that looks like:

 

--------------------------------------------------------------------------

ENTITY_IS_LOCKED

 

Can not create Apex Trigger on an active organization.

 

OK

--------------------------------------------------------------------------

 

This message is really meaningless to me. Can anyone help decipher it?

 

THANKS IN ADVANCE.
I AM TRYING TO GRAB THIS DATA FROM THE WEB, OUR URL IS SET UP WITH USERNAME AND PASS WORD.
THIS IS GPS DATA AND IS DYNAMIC SO WOULD CHANGE EACH TIME THE PAGE IS VISITED.
 
WOULD LIKE TO HAVE DATA POSTED IN TO SF CUSTOM OBJECT TO DISPLAY CURRENT STATUS OF EAVH TRUCK ON THEIR OWN RECORDS.
 
THANKS AGAIN
 
<Veh_Positions>
<Vehicle ivehicleid="353404016220052">
<data label="0210 Pablo Rodas" reg_number="832-274-3696" dtime="2012-08-15T19:10:11" flatt="29.738672" flong="-95.510833" heading="" speed="0.58" odometer="264821" event_type="Shutdown" event_code="202"driverid="0" vehicleid="353404016220052" gps="3" speed_mph="0.36" odometer_mi="164552.09" Driver="">
<pto/>
</data>
</Vehicle>
<Vehicle ivehicleid="353404016220063">
<data label="0247 Alfonso Quintanilla" reg_number="956-739-6923" dtime="2012-08-17T15:04:42" flatt="29.831770" flong="-95.208461" heading="" speed="0.07" odometer="50060" event_type="Shutdown"event_code="202" driverid="0" vehicleid="353404016220063" gps="3" speed_mph="0.04" odometer_mi="31105.83" Driver="">
<pto/>
</data>
</Vehicle>
<Vehicle ivehicleid="353404016220066">
<data label="0331 Juan Lopez" reg_number="832-217-0400" dtime="2012-08-17T19:59:05" flatt="31.135393" flong="-95.979401" heading="" speed="103.97" odometer="49514" event_type="Position" event_code="1"driverid="0" vehicleid="353404016220066" gps="3" speed_mph="64.60" odometer_mi="30766.56" Driver="">
<pto/>
</data>
</Vehicle>
  • August 18, 2012
  • Like
  • 0