Adding Meta Data to Resources
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Adding Meta Data to Resources




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Adding Meta Data to Resources  
Josh Schultz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-19-04 10: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





[ Post a follow-up to this message ]



    Re: Adding Meta Data to Resources  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-19-04 10: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...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
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







[ Post a follow-up to this message ]



    Re: Adding Meta Data to Resources  
Mei Ying [MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-19-04 10: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:
>

> MCMS Blog: [url]http://blogs.msdn.com/stefan_gossner/category/4983.aspx" target="_blank">http://download.microsoft.com/downl...egory/4983.aspx
> MCMS Sample Code:
>
http://www.gotdotnet.com/community/...
+Server
> 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... 
>
>







[ Post a follow-up to this message ]



    Re: Adding Meta Data to Resources  
Angus Logan [MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-20-04 01:47 AM

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:44 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register