• jyost
  • NEWBIE
  • 0 Points
  • Member since 2005

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

This is not rocket science, but this is my first go round with custom buttons...

 

I have a custom object as a related list on a Contact page - I want to create a custom button that will prepopulate some data on the new custom object.  The info I want to use is the Contact Name and Mailing Address.

 

The Mailing Address is coming over with out problem but I just can't figure out the Contact name.

 

Here is what I am using:

 

 /a0N/e?00N30000003gob0={!Contact.Name}&00N30000003hsZX={! Contact.MailingAddress }

 

 

The custom object create new record screen shows the Contact Name in the url but it does not populate the Contact lookup field. I've read references to using "_lkid" and the Contact ID but was unsure how/what that does. Any help or feedback is greatly apprecaited. Thanks!!

  • August 17, 2009
  • Like
  • 0

I am using the latest version of the Force.com IDE 64-bit for Windows.  Every time I attempt to edit a page the application locks and will not respond.  Here is a dump of the log file.  This is a vanilla install straight from Force.com.

 

!ENTRY com.salesforce.ide.core 0 0 2010-06-16 08:00:39.807!MESSAGE DEBUG [2010-06-16 08:00:39,807] (ComponentFactory.java:getCompositeComponentFromFile:1037) - Loaded ApexPage 'pages/StoreFront.page' [unpackaged] from file 'StoreFront.page'

!ENTRY com.salesforce.ide.core 0 0 2010-06-16 08:00:39.808!MESSAGE DEBUG [2010-06-16 08:00:39,808] (BaseComponentMultiPageEditorPart.java:setInput:118) - Set metadata editor input from source file 'StoreFront.page-meta.xml'

!ENTRY com.salesforce.ide.core 0 0 2010-06-16 08:00:39.809!MESSAGE DEBUG [2010-06-16 08:00:39,808] (BaseComponentMultiPageEditorPart.java:setInput:139) - Opening ApexPage 'pages/StoreFront.page' [unpackaged] from file 'StoreFront.page'

!ENTRY org.eclipse.wst.validation 4 0 2010-06-16 08:00:47.603!MESSAGE IWAE0017E Cannot create validator org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator because a Throwable was caught.
!ENTRY org.eclipse.wst.validation 4 0 2010-06-16 08:00:47.603!MESSAGE Plug-in org.eclipse.wst.common.modulecore was unable to load class org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator.
!ENTRY org.eclipse.ui 4 0 2010-06-16 08:00:48.308!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.core.jobs 4 2 2010-06-16 08:00:49.371!MESSAGE An internal error occurred during: "Processing Dirty Regions".

 

This is not rocket science, but this is my first go round with custom buttons...

 

I have a custom object as a related list on a Contact page - I want to create a custom button that will prepopulate some data on the new custom object.  The info I want to use is the Contact Name and Mailing Address.

 

The Mailing Address is coming over with out problem but I just can't figure out the Contact name.

 

Here is what I am using:

 

 /a0N/e?00N30000003gob0={!Contact.Name}&00N30000003hsZX={! Contact.MailingAddress }

 

 

The custom object create new record screen shows the Contact Name in the url but it does not populate the Contact lookup field. I've read references to using "_lkid" and the Contact ID but was unsure how/what that does. Any help or feedback is greatly apprecaited. Thanks!!

  • August 17, 2009
  • Like
  • 0