custompropertysets
xbury.cs at clearstream.com
xbury.cs at clearstream.com
Tue Feb 11 11:04:01 EST 2003
funny I was also checking the same stack!
the hilite was this...
on deleteprop
get the hilitedLines of field "Properties"
if it is not empty
then delete variable newvalues[line it of field "Properties"]
end deleteprop
-----Original Message-----
From: thierry Douez [mailto:t.douez at wanadoo.fr]
Sent: Tuesday, February 11, 2003 16:39
To: metacard at lists.runrev.com
Subject: RE: custompropertysets
Well, after your email, i dig into the script of the
"Custom Properties" stack. there is 2 main handlers called
setprops and getprops. they do the job, mainly by passing the
properties into a field and then "refilling" a hash before setting
again the selected Set.
so, the answer is there: same kind of job to do this for a whole Set
or for just a property.
all the best and thanks,
thierry
| There must be support for the deletion of one property set at a time.
| I did try but couldn't find it either...
|
| Is deleting just one property from a customproperty set just as hard?
|
| Im asking as Im working on an improved Control Browser that shows
| all the properties including the custom sets... Just hadn't got
| there yet!
|
| thanks for all info
| Xavier
|
| | > | > set the customPropertySet of this stack to "X"
| | > | > to select or create a Set.
| | > | > Then, how can I delete this "X" set ?
| | > | >
| | > | Try this:
| | > |
| | > | set the customPropertySet of this stack to empty
| | > |
| |
| | Sorry, pasted the wrong line.
| | (Yes, this indeed selects the default Set. It is easy to
| | overlook the fact
| | that every object that can have custom properties set is
| created with a
| | default Set with the name empty.)
| |
| | The following will delete ALL of the customPropertySets for the
| | specified object
| |
| | set the customPropertySets of this stack to empty
| |
| | I never needed to delete only a single customPropertySet, but I
| | suspect any Set could be set to empty by using array elements to
| reference them.
| |
| | miscdas
| |
|
| Well, i knew about this one, but this still doesn't reach my goal :-(
| I really do need to do this "Set delete", and i'm a bit surprised
| that there is no simple solution....
| anyway, what i can do is export all the Sets
| in a dynamic structure, clean what has to be cleaned, delete the "Sets"
| and re-import the new "customPropertySets", but what a job !
|
| Other ideas ?
|
| Thanks for your help,
| Kind regards, thierry
|
_______________________________________________
metacard mailing list
metacard at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message.
The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries.
END OF DISCLAIMER
More information about the metacard
mailing list