Is it possible to use the asset builder asset so a user can create a page, and then automatically insert a string into a metadata field in the created page?
Asset builder
Matrix v3.16 allows you to expose metadata fields during the create process, if that's what you're after.
It should actually be in v3.14.2 as well (I can never keep version numbers straight in my head) -- check the Details screen of the Asset Builder to see if you can assign a metadata schema on create. Then, customise the Create format so that you can expose the metadata field during the create process.
Yep I can asign a metadata scheme to the created asset, but there is no keyword option to expose the metadata in the create process. Do you know what the keyword might be?
Section "Current Frontend Metadata" (%metadata-S_current_frontend_metadata%)
Field "metadata_current" %metadata-F_metadata_current%
Section "Metadata Entry Instructions" (%metadata-S_metadata_entry_instructions%)
Field "metadata_instructions" %metadata-F_metadata_instructions%
Field "metadata_values" %metadata-F_metadata_values%
Print a specific metadata schema field %metadata-F_{metadata schema field id}%
For example: %metadata-F_99999%
What aleks said, or more generically, "the same as the simple edit metadata keywords"
And for everyone's future reference there should be a popup to tell you about it when you edit the contents of that layout
Ok i've got a new question. I've applied a metadata scheme to the created assets, and in the logged in form it prints out the input fields for the metadata schema as part of the %create_form% keyword, which is great, but now I would like to customise the form. In the details screen for the asset builder you can select create form customise, but I don't know the keywords to insert the metadata input fields which get printed out with the %create_form% keyword.
You use %metadata-F_99999% where 99999 is the asset ID of your metadata field.
Thanks for that. the metadata fields seem to be working, but I can't get the commit button or the asset name input fields to show. What are the keywords for those?
Sorry we figured it out. I was trying to insert the commit button without the asset name field, and it wont work without it.