Hi All,
I had come across a situation where i had to access to one of the folder in 14 hive layouts folder. I accomplished in this way.
string pathToTargetFolder = SPUtility.GetGenericSetupPath(@"TEMPLATE\LAYOUTS\FOLDER\TARGET_FOLDER");
The variable "pathToTargetFolder" now holds the path to the folder "TARGET_FOLDER" in layouts folder.
Hope this will help.
Pradeepa Achar
I had come across a situation where i had to access to one of the folder in 14 hive layouts folder. I accomplished in this way.
string pathToTargetFolder = SPUtility.GetGenericSetupPath(@"TEMPLATE\LAYOUTS\FOLDER\TARGET_FOLDER");
The variable "pathToTargetFolder" now holds the path to the folder "TARGET_FOLDER" in layouts folder.
Hope this will help.
Pradeepa Achar
Comments