Skip to main content

Is there a way I can use merge syntax to get the id of a field editor’s model?

Suppose I have a model named MyModel, and a field editor on that model. I want the first section header of that field editor to say “MyModel”

Of course, I can use global syntax, like {{&Model.MyModel.id}}, but then I may as well just MyModel, because I’m hardcoding the model id anyway.

I think the basic question here is: Will a field editor’s section heading ever run merge syntax in model mode?

Hi Matt,

Does using {{Model.id}} in the section header of a field editor fit what you’re asking for? For example, if I have an Account model named AccountList and a field editor on AccountList, I can use {{Model.id}} in the section header and the header will say “AccountList”. 

Thanks!
Amy


Reply