<%* // // Main Code Section //

// Call modal form const result = await MF.openForm(‘ORGANIZATION’);

// Declare variables after form returns values const alignment = result.Alignment.value; const name = result.Name.value; const location = result.Location.value;

// Rename & open note await tp.file.rename(name); await app.workspace.getLeaf(true).openFile(tp.file.find_tfile(name)); new Notice().noticeEl.innerHTML = <span style="color: green; font-weight: bold;">Finished!</span><br>New organization <span style="text-decoration: underline;">${name}</span> added; _%>


type: organization locations:

  • <% location ? "[[${location}]]" : ” %> tags:
<% name %>

:FasSitemap: Organization


Quote

right wm-smProfile of <% name %>, the <% alignment.toLowerCase() %> aligned organization.

marker

Column