Re: Getting All Properties Std. and Custom
aslam bari <[email protected]>
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Message-ID | <[email protected]> |
Ok , First of all it is not possible in my program. Because in my program a user can make a property in only one custom namespace which is defined by my program and hide from user. So now there are only two namespace DAV: and my custom namespace. So, Now i can get standard DAV: properties of a resource which are not more than 15-16. But what about custom namespace properties because i don't know on which resource and by what name and how many properties a user has given. Help Plz. Marco Ferretti <[email protected]> wrote: On 9/4/06, aslam bari wrote: > Hi Julian, > I think you are not getting my point. Let me explain what i need:- > > I want to make a List Box on a form which will show all the properties available in slide for all resources. We know some STD. properties like displayname, contentlenght etc, they should come in List Box. If other user have added their properties, they should also come in the List Box. May be some users made property with same name. But In List Box Property names should come only one time no duplicate means (Unique). > > How can i achive this? If i use allProp that is very expensive by the performance point of view. I have found a solution. I first Add All the STD. property in List Box that will be 15 or 16. And tell user to add their CUSTOM property in different namespace. But now how can i propfind allprop in that custom namespace. Hi Aslam, let me see if I get your question : you have a property named displayname in a namespace that's not the default, let's say FOO. Then, in you r application, you have a listbox that lists all the properties without showing the namespace, hence displayname would be duplicated. What you need is that your application shows only one displayname, the one that refers to FOO. If I get your point : you need to filter the properties after the DASL query ( I don't rekon it is possible to creeate a query that filters on namespaces but I may be wrong here ) . Question : what should happen if there are three or more instances of displayname and different namespaces ? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------- Here's a new way to find what you're looking for - Yahoo! Answers Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW