Question

hi I am trying to create a folder using java in Louts notes.I have created an agent in Domino Designer.I have created a document and i am setting the following properties of the document. Here is the code.

    doc.replaceItemValue("$ColumnFormatItem", "$Sender1");
    doc.replaceItemValue("$ColumnFormatExtItem", "$Sender1");
    doc.replaceItemValue("$ColumnProfileDoc", "ColorProfile");
    doc.replaceItemValue("$DesignerVersion", "8.5.3");
    doc.replaceItemValue("$FormulaClass", "1");
    doc.replaceItemValue("$Name", "SmithsFolder");
    doc.replaceItemValue("$PublicAccess", "1");
    doc.replaceItemValue("$ThreadView", "$ThreadsEmbed");

    doc.replaceItemValue("$Title", "SmithsFolder");
    doc.replaceItemValue("$ViewInheritedFrom","($Inbox)");
    doc.replaceItemValue("$BrowserRender", "Body");
    doc.replaceItemValue("$WebFlags", "S");
    doc.replaceItemValue("Form", "Memo");
    doc.replaceItemValue("Importance", "2");
    doc.replaceItemValue("NamePreference", "0");
    doc.replaceItemValue("priority_tcs", "Internal");
    doc.replaceItemValue("useApplet", "True");
    doc.replaceItemValue("ConfidentialString", "Confidential");
    doc.replaceItemValue("DefaultMailSaveOption", "1");
    doc.replaceItemValue("DisplayFrom", "");
    doc.replaceItemValue("ExpandPersonalGroups", "1");
    doc.replaceItemValue("NamePreference", "0");

And after this i am saving the document.but i cannot see any folder getting created.Please help.

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top