Managed Links in MOSS
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 > Managed Links in MOSS




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

    Managed Links in MOSS  
Karsten Grombach


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


 
07-05-07 06:18 PM

I want to extend the MOSS publishing feature with custom developed field
controls and webparts. I've noticed that the OOB publishing field controls
support some kind of managed link functionality, similar as in MCMS.
What must I do to create my own field controls and webparts which support
managed links? Is it just a question of inheriting from the right class? Or
do I need to implement some kind of event handler?
Regards
Karsten






[ Post a follow-up to this message ]



    Re: Managed Links in MOSS  
Stefan Goßner [MSFT]


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


 
07-05-07 06:18 PM

Hi Karsten,

field controls are similar to placeholder controls - they do not do any link
management.
The link management is done by the fields these field controls bind to.

Cheers,
Stefan

"Karsten Grombach" <KarstenGrombach@discussions.microsoft.com> wrote in
message news:09879DA3-B850-4CA8-9596-CFBF5D4D213E@microsoft.com...
>I want to extend the MOSS publishing feature with custom developed field
> controls and webparts. I've noticed that the OOB publishing field controls
> support some kind of managed link functionality, similar as in MCMS.
> What must I do to create my own field controls and webparts which support
> managed links? Is it just a question of inheriting from the right class?
> Or
> do I need to implement some kind of event handler?
> Regards
> Karsten
>







[ Post a follow-up to this message ]



    Re: Managed Links in MOSS  
Karsten Grombach


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


 
07-06-07 06:18 AM

Bytes: 2442
X-Original-Bytes: 2399
Xref: number1.nntp.dca.giganews.com microsoft.public.cmserver.general:66968

Hi Stefan,
thanks for that very valuable pointer!
So if I'd want to create a WebPart which uses the link management feature,
it would have to store it's values in a field which is in or derived from th
e
Microsoft.SharePoint.Publishing.Fields namespace. Correct?

The same probably applies for the "View Changes" functionality?

Regards
Karsten

"Stefan Goßner [MSFT]" wrote:

> Hi Karsten,
>
> field controls are similar to placeholder controls - they do not do any li
nk
> management.
> The link management is done by the fields these field controls bind to.
>
> Cheers,
> Stefan
>
> "Karsten Grombach" <KarstenGrombach@discussions.microsoft.com> wrote in
> message news:09879DA3-B850-4CA8-9596-CFBF5D4D213E@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: Managed Links in MOSS  
Stefan Goßner [MSFT]


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


 
07-06-07 12:16 PM

Hi Karsten,

you would need to create a field control. Not a web part.

Cheers,
Stefan


"Karsten Grombach" <KarstenGrombach@discussions.microsoft.com> wrote in
message news:96CB5276-5BBA-46F9-BFD7-CECC45FB728A@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
> thanks for that very valuable pointer!
> So if I'd want to create a WebPart which uses the link management feature,
> it would have to store it's values in a field which is in or derived from
> the
> Microsoft.SharePoint.Publishing.Fields namespace. Correct?
>
> The same probably applies for the "View Changes" functionality?
>
> Regards
> Karsten
>
> "Stefan Goßner [MSFT]" wrote:
> 







[ Post a follow-up to this message ]



    Re: Managed Links in MOSS  
Karsten Grombach


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


 
07-07-07 12:17 PM

Hi Stefan,

What I've done unitl now:
- implemented a custom  fieldType which inherits from BaseRichFieldType
- this field type binds to a custom field control which inherits from
BaseFieldControl
- the custom field control consists of a simple text box
- when i store html e.g. <div><a
href="/sitea/siteb/Pages/default.aspx">relativ</a></div>, links are
"managed". Fine 
- when i store xml, nothing is saved.
<xml>
<product>
<div><a href="/sitea/siteb/Pages/default.aspx">Link to Site B</a></div>
</product>
</xml>

In the end, i want to store most of my page data in one field, similar as
the xml above, and then let multiple page controls render out the content
where needed.
So if a page is moved, links inside the xml need to be updated. Do you think
this is feasible at all?

Regards
Karsten
"Stefan Goßner [MSFT]" wrote:

> Hi Karsten,
>
> you would need to create a field control. Not a web part.
>
> Cheers,
> Stefan
>
>
> "Karsten Grombach" <KarstenGrombach@discussions.microsoft.com> wrote in
> message news:96CB5276-5BBA-46F9-BFD7-CECC45FB728A@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: Managed Links in MOSS  
dp@ithnet.com


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


 
07-20-07 12:17 PM

We have a similar problem. We used XML placeholders in MCMS 2002
before and want to use now multiple lines of text to hold the xml data
(as there is no real XML placeholder anymore in MOSS2007). How is the
link handling done here? Links that were manged inside the old XML
Placeholder are no longer managed in MOSS2007. Do we need new prefixes
for the links, similar to the quotation marks in MCMS2002?

Best regards,
Dominik






[ Post a follow-up to this message ]



    Re: Managed Links in MOSS  
Stefan Goßner [MSFT]


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


 
07-20-07 12:17 PM

Hi Dominik,

please post this question on a MOSS related newsgroup.

Thanks,
Stefan


<dp@ithnet.com> wrote in message
news:1184929390.897439.107820@22g2000hsm.googlegroups.com...
> We have a similar problem. We used XML placeholders in MCMS 2002
> before and want to use now multiple lines of text to hold the xml data
> (as there is no real XML placeholder anymore in MOSS2007). How is the
> link handling done here? Links that were manged inside the old XML
> Placeholder are no longer managed in MOSS2007. Do we need new prefixes
> for the links, similar to the quotation marks in MCMS2002?
>
> Best regards,
> Dominik
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:57 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