I'm trying to import an RTF-File as an object in the Body-Field of a new memo. I have to use the FrontEnd-Classes, because the memo have to be sent over our Fax-Gateway. If I try to use the EmbedObject-Method via Backend, the Fax isn't sent correctly.
The Problem is that I get an error if I try to create the object in the Body-Field via Script. If I embed the Object manually via the Notes-Client, everything works correct. Even if I use CreateObject() without any parameters, I can import the object with the displayed menu.
The Function Call is :
The Error message I receive is :
"An error occured while executing a request for the object."
(It's not the orignal error, because I translated it from German to English).
What can I do?
Three possibilities I can think of for you to try (since your syntax is correct). First, the document MUST be in edit mode for the function to work properly. Second, the cursor must be in a Rich Text field when you call the method (this means that if it is not already in the correct field, you must put it there by using uidoc.GotoField("fn"). Third, because I don't know which platform you are on, ensure you are using the correct character in your path statement "/" or "\".
Hope this helps.
Dig Deeper on Domino Resources - Part 3
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.