problem 1 after migration
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 > problem 1 after migration




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

    problem 1 after migration  
Wiper


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


 
07-17-07 12:18 PM

Hi

After a succesfull migration (running mixed mode) the authors now - in
different placeholders - are allowed: to insert local image from local or
networked computer.

I only wan't to allow insert shared image from the ressource gallery

How can I change this in the production enviroment ?







[ Post a follow-up to this message ]



    Re: problem 1 after migration  
Stefan Goßner [MSFT]


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


 
07-17-07 06:18 PM

Hi Wiper,

you need to change the setting of the placeholder defintiion to deny access
to local resources.
That requires VS.NET and the MCMS developer tools to be installed.
Alternativly you can write a PAPI script that does this change - but it
requires some development.

Cheers,
Stefan

"Wiper" <hubba07@gmail.com> wrote in message
news:O6EiymGyHHA.5980@TK2MSFTNGP04.phx.gbl...
> Hi
>
> After a succesfull migration (running mixed mode) the authors now - in
> different placeholders - are allowed: to insert local image from local or
> networked computer.
>
> I only wan't to allow insert shared image from the ressource gallery
>
> How can I change this in the production enviroment ?
>
>







[ Post a follow-up to this message ]



    Re: problem 1 after migration  
Wiper


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


 
07-17-07 06:18 PM

Hi Stefan

> Alternativly you can write a PAPI script that does this change - but it
requires some development.<

Can you ellaborate this - or give and example on this PAPI Script?









[ Post a follow-up to this message ]



    Re: problem 1 after migration  
Stefan Goßner [MSFT]


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


 
07-17-07 06:18 PM

Hi Wiper,

the PAPI script would need to update the MustUseResourceGallery property of
the placeholder definition in the template.
Afterwards you would need to submit the template to check in the change.

Something like this:

CmsApplicationContext cmsContext = new CmsApplicationContext();
cmsContext. AuthenticateAsCurrentUser(PublishingMode
.Update);

Template tpl = cmsContext.Searches.GetByPath("PathToTemplate");
ImagePlaceholderDefinition ipd =
tpl.PlaceholderDefinitions["NameOfYourImagePlaceholderDefinition"];
ipd.MustUseResourceGallery = true;
tpl.Submit();
cmsContext.CommitAll();

Cheers,
Stefan


"Wiper" <hubba07@gmail.com> wrote in message
news:eZ6QBkHyHHA.1204@TK2MSFTNGP03.phx.gbl...
> Hi Stefan
> 
> requires some development.<
>
> Can you ellaborate this - or give and example on this PAPI Script?
>
>
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:46 AM.      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