Jump to content

SCGetInfo returns NULL when evaluated by IWP


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

Recommended Posts

Hi.

I got a calc field that uses the GetInfo function to fetch a file name. Works fine in FMP, but when adding the file through Instant Web Publishing the calculation simply returns nothing.

The plug-in is working server side. (The SCVersion returns 2.77 as expected.)

Any suggestions?

Rgds

Niklas

Link to comment
Share on other sites

Hey Niklas,

The only reason the SCGetInfo() function returns null is if the folder path that is passed as a parameter does not exist. So, my assumption is that the calculation that is being evaluated is, for one reason or another, pointing to a path/file that does not exist on your server. My recommendation is double-checking whether the path that is being generated in the calculation actually exists on your server.

I hope this helps.

Link to comment
Share on other sites

This topic is 4581 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.