If ( rtitem.Type = RICHTEXT ) Then Forall o In rtitem.EmbeddedObjects If ( o.Type = EMBED_ATTACHMENT ) Then Call o.ExtractFile _ chemin &Cstr(Day(whennow) & Month (whennow) & Right(Year(whennow),2) &"-" & Hour(current) & Minute(current) )&".html") nomfichier=( chemin &Cstr(Day(whennow) & Month(whennow) & Right(Year(whennow),2) &"-" & Hour(current) & Minute(current) &".html")) End If End Forall
Can you help me discern the problem? FYI, when I put a "print o.name," it does return the name of an attachment. It is only the extracting part which is not working.
Finally, again on the properties of your agent, you need to have a look at the property called "Set runtime security." This needs to be set to 2 or 3. . .probably 3.
All these security features are there to make sure that the right to access the file system of your Domino server is only made available to users when they really need to have it.
Do you have comments on this Ask the Expert question and response? Let us know.
Dig Deeper on Lotus Notes Domino Agents
Related Q&A from Jens Bruntt
Web Development expert Jens Bruntt offers suggestions on how to programmatically copy and hide attachments in Lotus Notes rich-text fields. Continue Reading
Learn about an add-on Domino developers can use to programmatically edit rich-text field tables from within the Lotus Notes client. Continue Reading
Web Development expert Jens Bruntt outlines three potential issues to consider when troubleshooting Lotus Notes Domino tabbed table problems. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.