Accessing asset attributes in Paint Layout via Condition Keyword Regexp condition


(Jamie Smith) #1

Update: I've found a solution. By creating a Custom Asset Type Paint Layout Bodycopy for Form Submissions, attribute keywords become available in the Keyword dropdowns. One for complete isn't there, but there is one called submission_ip_address, which can be used along with a Logical condition: by checking whether it returns true, which it only does when the Form Submission asset is complete/submitted.

 

 

Hello. I have an Asset Listing printing an HTML table of Form Submission assets. I've added a Conditional Keyword to the Paint Layout to get it to print only if the Submission is submitted (by looking at the complete attribute).

 

I've set the condition up thus:

 

 

However, I don't seem to be able to access the attribute (which I know is set to 1 for a number of the Submission assets). I've accessed asset attributes in Paint Layouts previously (though not in a Regexp condition). Does anyone know what I'm doing wrong?

 

Thanks in advance!

 

Edit: Matrix version 4.14.1


(Bart Banda) #2

Hi jsmith, yea I don't think that attribute is available as a keyword yet. I've put a request into our roadmap to get it added and to also review all attributes that are not currently available for form submission assets. 


(Jamie Smith) #3

Hi jsmith, yea I don't think that attribute is available as a keyword yet. I've put a request into our roadmap to get it added and to also review all attributes that are not currently available for form submission assets. 

 

Nice one, Bart. Thanks.