Asset builder


(Geoffrey Bailey) #1

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?


(Avi Miller) #2

Matrix v3.16 allows you to expose metadata fields during the create process, if that's what you're after.


(Geoffrey Bailey) #3

Yeah thats what I'm after, but we are running 3.14.2.


(Avi Miller) #4

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.

(Geoffrey Bailey) #5

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?


(Aleks Bochniak) #6

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%


(Avi Miller) #7

What aleks said, or more generically, "the same as the simple edit metadata keywords" :slight_smile:


(Raena Armitage) #8

And for everyone's future reference there should be a popup to tell you about it when you edit the contents of that layout :slight_smile:


(Geoffrey Bailey) #9

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.


(Nic Hubbard) #10

You use %metadata-F_99999% where 99999 is the asset ID of your metadata field.

(Geoffrey Bailey) #11

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?


(Geoffrey Bailey) #12

Sorry we figured it out. I was trying to insert the commit button without the asset name field, and it wont work without it.