Microsoft Content Management Server - question about to store a custom property

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > November 2004 > question about to store a custom property





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 question about to store a custom property
choihead

2004-11-28, 2:46 am

Hi all,
I wanna store the author server account name when the author submit the
posting, should I create a custom property on channel? or template??
and do i need to set default value? and how can I change this custom
property when the author submit this? using event handler??

thanks~!~

choihead


Angus Logan [MVP]

2004-11-28, 7:46 am

Hi,

You should create a String custom property on the template.

Then in the CmsPosting_Submitted event write to the custom property.

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
________________________________________

"choihead" <choihead@hotmail.com> wrote in message
news:%23QpiR%23R1EHA.1292@TK2MSFTNGP10.phx.gbl...
> Hi all,
> I wanna store the author server account name when the author submit the
> posting, should I create a custom property on channel? or template??
> and do i need to set default value? and how can I change this custom
> property when the author submit this? using event handler??
>
> thanks~!~
>
> choihead
>
>



choihead

2004-11-28, 5:48 pm

Hi Angus,

so I should create a text custom property from template explorer right??

choihead
"Angus Logan [MVP]" <angus_logan@data3.com.au> 撰寫於郵件新聞:%23GqFE4T1EHA.3376@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> You should create a String custom property on the template.
>
> Then in the CmsPosting_Submitted event write to the custom property.
>
> 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
> ________________________________________

> "choihead" <choihead@hotmail.com> wrote in message
> news:%23QpiR%23R1EHA.1292@TK2MSFTNGP10.phx.gbl...
>
>



Stefan [MSFT]

2004-11-28, 5:48 pm

That is correct.
Cheers,
Stefan.

"choihead" <choihead@hotmail.com> wrote in message
news:#R1aDgW1EHA.2876@TK2MSFTNGP12.phx.gbl...
> Hi Angus,
>
> so I should create a text custom property from template explorer right??
>
> choihead
> "Angus Logan [MVP]" <angus_logan@data3.com.au>

撰寫於郵件新聞:%23GqFE4T1EHA.3376@TK2MSFTNGP12.phx.gbl...
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com