Message 1 of 2
Vault 2014 VDF - Find checkedout files in datagridview (RowStyleHandler)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
At our company we created our own Vault Search. The search looks only for dwg and idw (state: released) and tif, tiff or pdf files (released or not released).
Now we would like to add a forecolor to the rows that contain checkedout files.
I got this to search for the checkedoutfiles in my datagridview, but it gives a conflict when i select a file in my datagridview.
I would like to know if there is an other way to find if a file in my datagridview is checkedout, and if so turn the forcolor in gray.
- Private Sub POARowStyleHandler(s As Forms.Currency.Style, ByVal entity As Vault.Currency.Entities.IEntity
- Try
- Dim ds As ACW.DocumentService = m_conn.WebServiceManager.DocumentService
- Dim fles() As ACW.File = ds.GetFilesByMasterId(entity.EntityMasterId)
- Dim fle As ACW.File = fles(UBound(fles))
- If fle.CheckedOut Then s.ForeColor = Color.Gray
- Catch
- End Try
- End Sub