--- tags: organization: address: street: city: code: country: Deutschland url: parent_company: --- <%* const organization = tp.frontmatter.organization const url = tp.frontmatter.url app.fileManager.processFrontMatter(tp.config.target_file, (fm) => { if (organization == undefined) { fm.organization = tp.file.name } else { fm.organization = organization } if (url == undefined) { fm.url = "" } else { fm.url = url } frontmatter.template = "[[contact-company]]" frontmatter.type = "company" }) -%> ## Kontakte ```dataview TABLE location AS Standort, manager AS Vorgesetzter FROM [[]] AND !outgoing([[]]) AND "Infos/Kontakte" WHERE !contains(former_company, [[<% tp.file.title %>]]) SORT location, manager, name ``` ## Ehemalige Kollegen ```dataview TABLE company AS Firma, location AS Standort FROM [[]] AND !outgoing([[]]) AND "Infos/Kontakte" WHERE contains(former_company, [[<% tp.file.title %>]]) SORT location, manager, name ``` ## Termine ```dataview list from [[]] and !outgoing([[]]) and "Journal" ```