You need to sign in to do that
Don't have an account?
rayzhu
How to attach a file while creating a new custom record?
I am new and learning salesforce.
I created a custom object with attachment related list. However I found that there is no section for attachment when I create a new record, although I can add attachments after I saved the record.
Thanks in advance.
Well attachments are not directly related with your object. You first need to create a new record and then create the attachment.
Attachments have one parameter to relate each one with your object. Once you inserted a new record of your object, you have to create an attachment, to relate it to your object you just need to put your record id on attachment's ParentId, this field is the one that relates the attachment with your current object record.
Ignacio.
The attachment option you can see in the objects page layout if you selected attachments and notes option at the time of object creation think you missed that.
Object Creation Options (Available only when custom object is first created):
Hi Sir,
Please provide me the code for this....
please check that at the time of object creation did you selected notes&attachment relatated list check box then only you can see after creating the record otherwise u won,t see it.