"Cannot remove Notes document when instituted by notes"
I get the above error message even though the Notes document is not instituted by a ui document. I have a view action which collects all documents based on a condition and deletes all the response documents if any for the document.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
------------------------------------ set call = view(key, true) if not collc.ount = 0 then set doc = collage '''''''''''Collect all responses Set coll2 = doc responses '''''''''''Remove all responses call coll2.removeall(true) '''''''''''Remove the main doc call doc.re move(true) ''''This is where I end up with the above error end if
Try to destroy the coll2 object first. You can only delete an object when all other objects within the scope of the top level object are destroyed. So if you inserted before your call to remove doc it should work.
Dig Deeper on Domino Resources - Part 2
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.