Copied to clipboard

Flag this post as spam?

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


  • Danny 15 posts 136 karma points
    Nov 20, 2014 @ 22:28
    Danny
    0

    DocumentType + Template uSync deployment doesn't show new property on page

    I'm trying to use uSync to deploy umbraco specific elements in the database (minus the content) from my local environment to a test environment.

    I decided to test uSync out by adding a new Textstring Property to a DocumentType and updating the Template on my local machine, then deploying it to my test environment (different server and DB).

    The new property shows up under Templates and DocumentTypes in the back office, but when I add some text to the property in the content node, the text doesn't show up on the test site.

    Setup

    • Umbraco v7.1.6
    • uSync v2.4.0

    Repro steps

    1. Copy test database to local machine, and copy test environment files locally
    2. Install uSync package on local and test environment (enable read and write)
    3. Add a new Property to a DocumentType on my local environment
    4. Update the Template for that DocumentType to display new Property ( @Umbraco.Field("testtext") )
    5. Go to the node of that DocumentType under Content and add some text in that property
    6. Publish node (local site updates beautifully)
    7. Copy Views and uSync directory to test environment and change a comment in the web.config
    8. Go to test back office and see changes under DocumentTypes and Templates
    9. Go to node of that DocumentType under Content and add some text in the new property
    10. Publish node (test site doesn't show new content)

    I tried updating the template on the test back office with some hard coded text, and that update shows up on the test site.

    Any ideas what could cause this behavior, or suggestions on other things to investigate, would be helpful.

    Thanks in advance.

  • Mark Bowser 273 posts 860 karma points c-trib
    Dec 03, 2014 @ 22:55
    Mark Bowser
    0

    Can you verify that your content node is using the template you'd expect? I've had issues like this before when I instruct usync to not deploy templates and to only deploy data types and document types. Is your usync configured to deploy the templates?

Please Sign in or register to post replies

Write your reply to:

Draft