Re: Getting All Properties Std. and Custom
"Marco Ferretti" <[email protected]>
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Message-ID | <[email protected]> |
On 9/4/06, aslam bari <[email protected]> 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 ?