You are viewing limited content. For full access, please sign in.

Question

Question

Feature Request: Expose File Extension as a Token

asked on December 19, 2013 Show version history

Hiya,

 

We use auto-naming to ensure consistent naming conventions. However, if the name has a period in it (but no file extension) then it won't open correctly in the apple App. Also, a file extension is required for WebDAV to work.

 

For now we're using some code in Workflow to add a file extension but I'd like to request that LF expose the extension as a Global token. I realise that may require a large change to Workflow as it currently exposes the item as the super-type "ILFentry" in order to cater for the Document and Folder activities...

 

dim LFDoc as LFDocument
if me.Entry.EntryType=LFSO90Lib.Entry_Type.ENTRY_TYPE_DOCUMENT then
    lfdoc=me.entry
    if lfdoc.ElectFile.IsEmpty Then
        me.SetTokenValue("DocExtension", "")
    else
        me.SetTokenValue("DocExtension", "." & lfdoc.ElectFile.Extension)
    end If
end if

 

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on December 19, 2013

Workflow 9.1 has you covered. Find Entry, Find Entries, and Search Repository all now have the 'Additional Properties' item that will let you retrieve many different types of properties for your entries.

 

Check out the help file for all of the properties that can be retrieved.

 

 

 

 

6 0

Replies

replied on December 19, 2013 Show version history

EDITED: Ed has you covered

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.