Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • dave 36 posts 149 karma points
    May 12, 2015 @ 13:28
    dave
    0

    Windows Live Writer Access to Additional Properties

    I have added a media type property to the articulate post. It is my intention that I will use this to display on the home page images associated with the post. Is there anyway to use windows live writer to populate the newly added property?

    I know I can upload images within the content of the blog entry/post. The question is can i continue to use WLW but to populate the newly added media type property?

    thanks

  • Shannon Deminick 1524 posts 5270 karma points MVP 2x
    May 14, 2015 @ 00:06
    Shannon Deminick
    100

    When WLW posts images, it just puts them up as files which are referenced in the rich text editor. You could probably re-write the WLW integration to set the first image uploaded as a property on your blog post content item but OOTB, no that's not possible.

    The alternative which might be a whole lot easier would be to put an event on the ContentSaving, check if the content is a rich text blog content type, read through the html of the rte with HtmlAgility, parse out the first image in there and set that to your media item property of that content item.

Please Sign in or register to post replies

Write your reply to:

Draft