Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Getting docroot in Livesite exretnal java class
atosoriginal
Hi
When I try to use "RequestContext.getUser().getFileDAL()" to get the "FileDALIfc" object , it is showing "getFiledal()" method is depricated from "EndUserIfc" . Can any one tell me how to get "FileDalIfc" or how to get the document root from the "RequestContext" . I want to read a file from teamsite .
One more thing any idea how to set classpath in livesite .
Thanks in advance for the help
himu
Find more posts tagged with
Comments
AlexC
What version of LiveSite?
In 3.1 there is a method called getFileDal which replaced GetFileDAL and now returns a FileDal objects (instead of FileDALIfc). It works identically for the most part.
atosoriginal
My LS version is 3.0.2.
AlexC
Then getFileDALIfc is still fine, for 3.1 you should convert to the getFileDal call.
atosoriginal
Thanks a lot AlexC for your help
prathap_lenovo
Hi, Here i have a problem with white spaces in the file path
content = context.getFileDal ().read (includeFilePath);
Is this read() method wont encode URL its won ?
Thanks,
Prathap Puppala