Trying to make new element without success

This is driving me crazy. I’m trying to create a new “exception rule” element in this program “Merlin”. I roll:


		set theCalendar to assigned calendar of root project of item 1 of documents --this works fine, tested it by getting some properties
		set newRule to make new exception rule --error pops here

I keep getting the error “Merlin got an error: Can’t make or move that element into that container.” I tried 50 different combination and nothing works, driving me nuts.

The dictionary says specifically states:

Element
exception rule
(Exception rules.)

Access
get/ make/ delete

Key Forms
by name, by index, by range, relative to others, by whose/where filter and by unique ID

What’s the deal, do you think there’s a bug in the developers implementation?

probably not.

To create a new element you must specify at least a name for that element or another property in the make line.
Sometimes you have also to specify the insertion location

Try


 set newRule to make new exception rule at end of exception rules with properties {name:"myRule}"

Hot dam you put me on the right track! What worked:


set newRule to make new exception rule at end of exception rules of theCalendar with properties {reason:"myRule"}

Jeez that was frustrating, blew away a few hours of my life.

Thanks