Thanks Jeremy, that nudged me in the right direction. The key was rather than passing as parameters, set as vars in main body and use these in the macro. I'll be taking this approach rather than parameters from hereon in.
Working code (not tackled the other issues, but seems to be working without addressing those): \define TmapEdgesGen() {"$(randrelid)$":{"to":"$(parentmapid)$","type":"$(reltype)$"}} \end .... <!-- ADD NEW TIDDLER --> <$vars reltype={{!!rel_type}} randrelid={{{ [[]make[%uuid%]] }}} itemid={{{ [[]make[%uuid%]] }}} desctext={{$:/_opNodeDetsEditText!!text}}> <$set name="parentmapid" tiddler={{!!SearchTermDD}} field=tmap.id> <$wikify name="myfinal" text=<<final>> > DEBUG ParentMapID: <<parentmapid>> RelType: <<reltype>> >From Macro: <<TmapEdgesGen>> <$button popup="bob" >Create Item <$action-setfield $tiddler="$:/_opTaskStore" itemTitle=<<myfinal>> desctext={{$:/_opNodeDetsEditText!!text}} /> <$action-setfield $tiddler="$:/_opEditNode" item.id=<<itemid>> shorttext={{$:/_opTaskStore!!taskname}} description=<<desctext>> tags={{$:/_opTaskStore!!tags}} nodetype= {{!!nodetype}} createdby={{!!createdby}} managedby={{!!managedby}} owner={{!!owner}} assignedto={{!!assignedto}} taskstatus={{!!taskstat}} taskpercentage={{$:/_opTaskStore!!taskpercentage}} color={{$:/_opTaskStore!!color}} startdate= {{$:/_opTaskStore!!startdate}} duedate = {{$:/_opTaskStore!!duedate}} stalldate = {{$:/_opTaskStore!!stalldate}} completiondate = {{$:/_opTaskStore!!completiondate}} tmap.edges=<<TmapEdgesGen>> /> <$action-setfield $tiddler="$:/_opEditNode" title=<<myfinal>> tmap.id={{{ [[]make[%uuid%]] }}} /> <$reveal type='popup' state='bob' position='below'> <div style='background-color:lightgreen'> New Item created successfully:<br> {{$:/_opTaskStore!!itemTitle}}<br> <$link to={{$:/_opTaskStore!!itemTitle}}>Click to View</$link> </div> </$reveal> <$action-setfield $tiddler="$:/_opTaskStore" taskname="" tags="" taskpercentage=0 /> <$action-setfield $tiddler="$:/_opNodeDetsEditText" text="" /> </$button> </$wikify> </$set> </$vars> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1093eccf-1371-4b19-83c6-63626d827dcc%40googlegroups.com.