+ Start a Discussion
jcaldjcald 

how to pass url parameter

I have a custom button that I want to URL pass to pre-populate field. The field id is showing as "j_id0:j_id3:j_id4:j_id18:Subject" from inspect element. I am also using a VF page to create a new case. Can someone help?

I've tried using this and other combinations....

Execute javascript / URL

/apex/Create_A_New_Case?retURL=%2F500%2Fo&RecordType=012U000000016QN&ent=Case&save_new=1&sfdc.override=1&j_id0:j_id3:j_id4:j_id18:Subject=test1234
KodiKodi
Hi,

You have to try custome button using javascript

srcUp('/apex/Create_A_New_Case?retURL={!Case.RecordType}&ent=Case&save_new=1&sfdc.override=1&sSubject={!Case.Subject}
jcaldjcald
Thanks. But that did not work.

I've managed to get the new case form to show up using:

https://c.na12.visual.force.com/apex/Create_A_New_Case?retURL=%2F500%2Fo&RecordType=012U000000016QN&ent=Case&save_new=1&sfdc.override=1

but i'd like to transfer populated fields from a twitter conversation to the new case field (for example: Subject). From the new case form, the 'subject' id field shows up as j_id0:j_id3:j_id4:j_id18:Subject. So, when I use:

https://c.na12.visual.force.com/apex/Create_A_New_Case?retURL=%2F500%2Fo&RecordType=012U000000016QN&ent=Case&save_new=1&sfdc.override=1&j_id0:j_id3:j_id4:j_id18:Subject={!sf4twitter__Twitter_Conversation__c.sf4twitter__Message__c}

This does not populate my subject field.