Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GetAsText function not working as expected

Featured Replies

I'm sure that one of the biggest uses of the GetAsText function is to extract the filename/path from a container field that references to a file.

Which works fine for me, but it only returns the file name, but not the path. I'm using this function in a calculated field GetAsText (containerfield), with results as Text.

Upon reading the help section, it states it'll return the "external path information". When I read that, I think the path and filename. Am I wrong in assuming this?? Or is there something I'm not doing right?

Brent, when I use the GetAsText () on a container field, I yield the following results...

size:320,240

image:My Pictures/someimage.gif

imagewin:/C:/Documents and Settings/Administrator/My Documents/My Pictures/someimage.gif

Maybe your results field should be strechted larger???

but it only returns the file name, but not the path.

the calc will give you the path ONLY if the image (or whatever) is inserted into the container as a reference to the file ( you have to check the relative flag)

  • Author

Yes, and both of you are absolutely right. I didn't realize that it returned so much info when referenced, like John mentioned. Jeez - sometimes I just don't think!! Well, maybe someone else will learn from my misunderstanding.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.