Jump to content
Server Maintenance This Week. ×

GetContainerAttribute - not recognizing field?


This topic is 1776 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am struggling to do something simple, which is to define a field that will display the filename of files stored ion a container field called 'Document'.  I am using the  GetContainerAttribute(sourceField;attributeName) function, but I can't seem to get the engine to recognize the field, which I'm entering by double-clicking it in the field list!  I've tried using different attribute names, and tried doing it on other container fields in different files, but there's something I'm just not getting here . . . can anyone spot my problem in this image of my attempt? fail.thumb.jpg.98667dc5741a3fbbb9c3b73443e762da.jpg

Link to comment
Share on other sites

Your formula is looking for a field named "filename" to get a value for the attributeName parameter from there. If you want to supply the value directly as a text constant, you must enclose it in quotes:

GetContainerAttribute ( Document ; "filename" )

 

  • Like 1
Link to comment
Share on other sites

This topic is 1776 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.