Microsoft Content Management Server - Adding Meta Data to Resources

This is Interesting: Free IT Magazines  
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



Mei Ying [MVP]

2004-10-19, 5:49 pm

And you will have to replace the built-in dialogs. Stefan's blog has an
entry that may help:
http://blogs.msdn.com/stefan_gossne...2/07/41861.aspx
--
regards
Mei Ying
---
Blog: http://meiyinglim.blogspot.com
Contact: meiyinglim@hotmail.com
---
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:ekLqb1etEHA.2948@TK2MSFTNGP15.phx.gbl...
> 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...
>
>



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



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com