I’ve found several articles from MVNWNVM but none quite addressed my issue…
What I’m trying to do
I’m trying to figure out how to combine inline fields and YAML data.
I have notes for each company I research. [[Company A]], [[Company B]], etc.
And each Company page has various inline fields, such as:
CompanyA
CEO:: Mr. Jones
Industry:: Healthcare
Location:: Rio
I’m trying to create a summary report that will include info on companies as defined in the YAML fields on Summary Page.
Summary Page
(the YAML frontmatter)
Company1: CompanyG
I want the summary report to contain a table for the company(ies) defined in the YAML frontmatter – it should end up looking like the following:
| Company | CompanyG |
| CEO | Mr. Jones |
To get that, I can write the following:
| Company | =this.Company1 |
| CEO | =[[CompanyG]].CEO |
HOWEVER, I can’t figure out how to get the CEO info from the frontmatter, as I’m not able to extract the company name from the YAML frontmatter. (It would involve an inline data reference within another inline data reference!).
=[[=this.Company1]].CEO which clearly doesn’t work. (I ommitted the ` marks here)
I’d greatly appreciate any help/ideas ! Thanks very much.