We need lotus script to generate the excel data with attachments name . If attachment fields are multiple so I need the multiples column attachment names. Format should like
@Ajeet Gupt If you have work to be done (this and your other posts are not describing a "problem", but a task), perhaps you should offer to pay for it? ;-)
I and a lot of people here are willing to help in our free time, but this is (at least as I understand it) a development task for a company. There are a lot of freelancers and HCL business partners out there, which offer development services.
I am getting the issues while generating the excel reports not how to get the attachment names didn't know about this. Because lotus formula is not supporting to get the attachment names each field wise. That's why I am posting the request on HCL forum. I know about the HCL team continue supporting to the customer.
If you do know your richtext field (attachment1, attachment2, etc....)
Dim rtitem As Variant
Set rtitem = doc.GetFirstItem( “yourfirstrtitem” )
If ( rtitem.Type = RICHTEXT ) Then
Forall o In rtitem.EmbeddedObjects
If ( o.Type = EMBED_ATTACHMENT ) Then
print o.name ’ this is the attachmentname
End If
End Forall
End If
@AttachmentNames can't work in a way needed for this, because it returns the complete list of attachments regardless of the rich-text item, they are stored in. With @AttachmentNames you loose the relation between attachment and item.