You need to sign in to do that
Don't have an account?
Varun99
soql Subquery
Hi,
Any one can help how to retrieve customobject attachments using soql query
My requirement is
Name Exp technology viewAttachment Downloadattachment xxxx 2yrs Salesforce VIEWFILE document.doc yyyy 6 yrs oracle VIEWFILE DOC.xlsx
Thank you
Hi
Opportunity oo = [Select Name,(Select Id, IsNote, Title From NotesAndAttachments) From Opportunity ];
Hi,
List<Attachment> Att = [SELECT Id , Name FROM Attachment WHERE ParentId = 'a02U0000000wfV5']
//"a02U0000000wfV5" is your Custom Object Record ID.
Thanks
Hi,
Am querying my custom object like
for(Advanz__C c:[select name,Experience__C,Technology__C,(Select Id, IsNote,Title From Advanz__C.NotesAndAttachments) FROM Advanz__C ])
{
acclist1.add(c);
}
but am getting errog like using that id
<apex:column headerValue="Attachment">
<apex:outputLink value="{!URLFOR($Action.Attachment.Download, a.id)}" target="_blank" >{!a.name}</apex:outputLink>
</apex:column>
Hi
I didn't get you.what error you are getting can you post.
Hi,
Am getting this error first time running my page
Invalid parameter for function URLFOR
can you post a pieace of code.
i think you are not passing correct id i.e Notes&Attachement id
Hi,
Thank you for your reply. I got it