I have a dataformwebpart that queries multiple document libraries. I need to open the document properties in a modal window. I have used the below
The problem is that @FileDirRef returns the path of the item inside its folder so the generated url is: /sitename/document library/folder name
('/DocumentCenter/Bonuses Documents/370; CRM5111/Forms/DispForm.aspx?ID=4') where (370; CRM5111) is the folder name.
In order to be able to open the document properties I must have the above path without the folder name, meaning: /sitename/document library/
eg: ('/DocumentCenter/Bonuses Documents/Forms/DispForm.aspx?ID=4')
Can anyone point into the right direction to implement this?