on 09-18-2008 12:17 PM
Hi,
Is it possible to check whether an RID is valid or nor, ie, the corresponding folder actually exists or not?
I am using th following code to get the RID:
String path = "/KM/"+"SAP IMPLEMENTATION PROJECTS/"+project+rs_prop.getString("folder");
RID rid=RID.getRID(path);
In the next line I want to check whether the RID path actually exists before proceeding further. How can this be done? I tried if(rid!=null). But it didnt work.
Please Help.
Thanks,
Das.
Hi,,
chk wid this code:
//do init()
wdContext.currentContextElement().setPath("/");
//onaction
RID pathRID =
RID.getRID(wdContext.currentContextElement().getPath());
hpe it hlps
Regards
Khushboo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.