Hi, I built a plugin and want to send it a document. So I use the &qu

Hi,

I built a plugin and want to send it a document. So I use the "@document" type, I get the file Long value in my smart service but there is an error when calling _cs.getInternalFilename(file);

          private ContentService _cs;
                    try {
                              log("Start");
                              log("file no "+file);
                              docPath = _cs.getInternalFilename(file);
                              log("file " + docPath);

                    } catch (Exception e) {
                              log("Error " + e.getMessage() );

log write to a file and I get this
Start
file no 409
Error null

So it seems that getinternal filname throws an error that don't catch.

Thanks for help.








...

OriginalPostID-58406

OriginalPostID-58406

  Discussion posts and replies are publicly visible