Getting Container file name

Discussion created by greengk2fi on Apr 11, 2017
Latest reply on Apr 11, 2017 by philmodjunk

I have a container field and wanted to display the filename of the file stored in the container. So I did a quick search and found I could use GetContainerAttribute. The article here on the FM site shows using filename attribute. Somehow I'm getting the error pictured below. It tells me that the specified field cannot be found and then highlights the attribute filename. I can't really figure out what is going wrong.

  • The container field creatively named "File" is available
  • The syntax matches the FM article
  • The calculation is set to return text


Can you see anything wrong with the syntax? Is this a bug? I'm using FM Pro Advanced 14.0.6.

Thanks for any/all help.

Screen Shot 2017-04-11 at 3.24.25 PM.png