I'm looking for a way to create a hyperlink to a particular folder in Worksite. So far, I've only come up with a macro linking files on the basis of their database numbers but folders do not have database numbers (I think). Another thing is that I wanted the folders to be opened in Outlook (Worksite is connected with Outlook and we access folders through it) What I try to accomplish is creating hyperlinks in Excel for easy folder access (just like hyperlinks to files). Does anybody have a clue if it's even possible? If yes, I'd appreciate an example of a code for this. Thanks in advance.
Hyperlinking a folder stored on iManage
2.7k views Asked by LukaszPe At
2
There are 2 answers
1
LukaszPe
On
Sub Folder_link
Dim dmsIM As IManDMS
Dim dmsS As IManSession
Dim dmsD As IManDatabase
Dim FdR As IManFolder
Dim FdrLoc As String
Dim FdrID As Long
Const ServerName As String = <DMS name>
Const DatabaseName As String = <DatabaseName>
FdrLoc = "\\{DMS name}\{DatabaseName}\Main Folder\SubFolder\SubSubFolder\TargetFolderName"
Set dmsIM = New ManDMS
Set dmsS = dmsIM.Sessions.Add(ServerName)
dmsS.TrustedLogin
Set dmsD = dmsS.Databases.ItemByName(DatabaseName)
Set Fdr = Imanage.ImanFolder.Location (FdrLoc)
FdrID = Fdr.FolderID
With ThisWorkBook.WorkSheets(1).Range("A1")
.Hyperlinks.Add _
Anchor:=Selection, _
Address:="iwl:dms={serverName}&&lib={databaseName}&&page=" & FdrID, _
TextToDisplay:="link"
End With
End Sub
Related Questions in HYPERLINK
- Non-Expiring Direct Link Like When Clicked It Will Download Without Landing Any Page
- Hyperlink doesn't redirect while others do
- I want to embed YouTube videos in my web app while safeguarding the direct video links. How can I do this?
- How to make common post or page for external links in wordpress website using php or any language
- I want to avoid this warning: "Microsoft Office has identified a potential security concern"
- LinkedIn Thumbnail problems
- Replace a Link to a file per GScript in GMail
- link analysis with visjs on the basis of timestamp
- No route found in Shopware6/symfony
- How to make a div button to link to another web page
- I need URLs typed into Google Sheet cells to open automatically when they are finished being typed
- Approach to display links by role
- Link target _system is not working on IOS inAppBrowser
- a href not taking me to a page that is specified
- My links are visually breaking as soon as screen is resized
Related Questions in DIRECTORY
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- PHP string variable to multiple rows in table sql insert
- Android - Why my app picks values on default folder (instead XXHDPI)
- Use htaccess to add subdirectory to url while displaying base url
- Dockerfile and package-json are in different folders
- VS2022 C++ empty directory for audio file. CMake; SFML
- Visual Studio Error: The system cannot find the file specified
- Email from SharePoint: "Heads up! We noticed that you recently deleted a large number of files from a site" but the user doesn't deleting anything
- Duplicate folder into new folder one level up in the directionary
- Shapefiles not showing up in assigned directory in R - says it exists but can't find it
- Recursively calculate SHA256 sum of all files in directory using OpenSSL
- $WinREAgent folder keeps to automatically appear
- thunderbird local archive folder missing
- Python folder path string escape character error
- Switch r settings to not have to create directory when saving files into new subfolders
Related Questions in IMANAGE
- Export documents from iManage workspace
- Where can I find latest version of iManage API documentation?
- Microsoft Edge Webview Issues
- Why would iManage's Outlook add-in File & Send cause a custom property set using Microsoft.Office.Interop.Outlook to be dropped off an email?
- Word Add-in object always null
- How can my add-in listen to events from another add-in in Office/Word application?
- Send HTTP Requests after browsing to a page as separate requests for Web Crawling (Angular site)
- Retrieving reports from iManage based on the Document Name or generating list of documents with document information
- Cannot Upload File using C# HttpClient, Postman works OK
- Accessing documents on iManage
- What is EntryID in Outlook?
- Saving to iManage with VBA
- Uploading file to iManage/Worksite to a particular folder
- Worksite - cleaning history of workspaces
- Debugging Full text search in iManage Worksite
Related Questions in WORKSITE-SDK
- Export documents from iManage workspace
- What is EntryID in Outlook?
- Overcoming Worksite dialog with VBA
- Uploading file to iManage/Worksite to a particular folder
- Debugging Full text search in iManage Worksite
- Hyperlinking a folder stored on iManage
- Converting Public workspaces to Private workspaces in iManage
- Execute command if user is found in OU by using -Searchbase
- From where i can get worsite sdk?
- Get MatterID from iManage/Worksite doc within MS Word
- Is there a Content-Type for an NRL?
- IManage WorkSite refile WorkSpace via SDK
- Worksite-The user gets disabled every day morning automatically every morning
- Query Documents in iManage (Worksite)
- Open IManDocument in browser
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Yes it's possible.
You don't mention which version of the iManage client you're working with however I'm going to assume FileSite 9.x. Installed with that client is a custom protocol handler which supports a custom URI scheme.
In effect this allows you to compose a hyperlink with plain text which you can then embed in your web page, or just start a new process in Windows to let the default browser load it up.
The custom protocol handler will parse it and then start up whatever iManage client it can (FileSite in your case) and then navigate to the correct folder.
Format is
iwl:dms=[ServerName]&&lib=[DatabaseName]&&page=[FolderID]Here's some C# that builds out such a string