|
Home > Archive > Microsoft Content Management Server > October 2004 > Adding Meta Data to Resources
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Adding Meta Data to Resources
|
|
| Josh Schultz 2004-10-19, 5:49 pm |
| Hiya,
I'm interested in adding some properties to stored image resources.
For lack of a simpler way to do this (or lack of knowledge of a
simpler way to do this), I'm currently storing an XML string in the
"Description" field of the Resource's Properties, then parsing that
string at runtime to create a "ResourceInfo" object.
I have some questions about this: (1) Is there a better way to add
properties to a Resource? (2) Is there a way to use another form to
edit Resource properties, so that content authors do not have to edit
raw XML? Can I edit the current form or create another one that makes
a similar posting? Is this unsupposted?
Also, I wanted to say congratulations to Angus on becoming an MVP.
I've been a lurker in this group for a long time, and Angus has helped
our team's first few MCMS projects quite a lot. So, Angus, congrats
and thanks.
Josh Schultz
| |
| Stefan [MSFT] 2004-10-19, 5:49 pm |
| Hi Josh,
1) there is no simpler way to do this.
2) you could create a server control that renders some nice child controls
to do this.
This would work similar to a custom placeholder control only that it needs
to store the values in the resource properties rather than a placeholder.
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver
MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------
"Josh Schultz" <joshjs@hotmail.com> wrote in message
news:61e82c7a.0410190645.6f96ed30@posting.google.com...
> Hiya,
>
> I'm interested in adding some properties to stored image resources.
> For lack of a simpler way to do this (or lack of knowledge of a
> simpler way to do this), I'm currently storing an XML string in the
> "Description" field of the Resource's Properties, then parsing that
> string at runtime to create a "ResourceInfo" object.
>
> I have some questions about this: (1) Is there a better way to add
> properties to a Resource? (2) Is there a way to use another form to
> edit Resource properties, so that content authors do not have to edit
> raw XML? Can I edit the current form or create another one that makes
> a similar posting? Is this unsupposted?
>
> Also, I wanted to say congratulations to Angus on becoming an MVP.
> I've been a lurker in this group for a long time, and Angus has helped
> our team's first few MCMS projects quite a lot. So, Angus, congrats
> and thanks.
>
> Josh Schultz
| |
|
|
| Angus Logan [MVP] 2004-10-19, 8:47 pm |
| Hi Josh,
Thanks : )
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"Josh Schultz" <joshjs@hotmail.com> wrote in message
news:61e82c7a.0410190645.6f96ed30@posting.google.com...
> Hiya,
>
> I'm interested in adding some properties to stored image resources.
> For lack of a simpler way to do this (or lack of knowledge of a
> simpler way to do this), I'm currently storing an XML string in the
> "Description" field of the Resource's Properties, then parsing that
> string at runtime to create a "ResourceInfo" object.
>
> I have some questions about this: (1) Is there a better way to add
> properties to a Resource? (2) Is there a way to use another form to
> edit Resource properties, so that content authors do not have to edit
> raw XML? Can I edit the current form or create another one that makes
> a similar posting? Is this unsupposted?
>
> Also, I wanted to say congratulations to Angus on becoming an MVP.
> I've been a lurker in this group for a long time, and Angus has helped
> our team's first few MCMS projects quite a lot. So, Angus, congrats
> and thanks.
>
> Josh Schultz
|
|
|
|
|