+1-888-365-2779
Try Now
More in this section

Rollback Page

9 posts, 0 answered
  1. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    21 Sep 2010
    Link to this post
    Hello,

    One of our potential clients are interested in the Page Rollback feature. So
    I am checking a few things about this feature.

    A few questions:
    1 - How far back can I rollback a page?
    2 - Can I configure the amout of time I want to keep a page in history for?

    Problem:
    For example: Something happened a week ego and there is a need to dig out exactly what
    a page looked like at that time. The rollback feature seems to be enough, however, what happens
    if I have an iFrame which is linked to a document in the database. And that document changed a
    few times during the last week?

    Many thanks,
    Andrei
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    21 Sep 2010
    Link to this post
    Hi Andrei,

    Thank you for using our services.

    The Rollback function can go as far as the first version of your page. There is no automatic clean up mechanism in Sitefinity 3.x so we keep all versions of the page. If you like to implement clean up of old versions you can use the script from this KB article.

    If the iframe has been added on the page content through Generic Content and the link to the item has not changed through versions and you roll back you will still see the latest version of the images and documents item when you rollback to the selected version.


    Greetings,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    24 Sep 2010
    Link to this post
    Radoslav,

    "...The Rollback function can go as far as the first version of your page. There is no automatic clean up mechanism in Sitefinity 3.x so we keep all versions of the page. If you like to implement clean up of old versions you can use the script from this KB article...."
    Ok, so it looks like you can either have all the versions or none at all? You can not have a setting to say "keep last 60 days worth?". Is that a nice feature suggestion??? Thanks for the script though.

    "...If the iframe has been added on the page content through Generic Content and the link to the item has not changed through versions and you roll back you will still see the latest version of the images and documents item when you rollback to the selected version. ..."
    It sounds like 'no' to me then? What about Sitefinity version 4 that is going to have document versioning? Will that be able?

    One more question: - If I open a word document from the database and edit it in the web browser (in an iFrame), can I then click the save button and have it saved in the database with the changes? My aim is to edit documents in the database without having to download them, edit them, then re-upload them again.

    Many thanks,
    Andrei
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    24 Sep 2010
    Link to this post
    Hi Andrei,

    I am sorry I may have not understood one of your questions. Content modules also have versioning and history which is separate from page history. However if you open a word document and edit it you will have to save it to the file system. Then go to Images and Documents module and go to the document item and select to re-upload the document.

    Images and Documents module does not support versioning. However in Sitefinity 4.0 it will keep version history.

    Regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    24 Sep 2010
    Link to this post
    Radoslav,

    "...am sorry I may have not understood one of your questions. Content modules also have versioning and history which is separate from page history...."
    I guess even though it is separate, it still would not have the configuration to state how long you want the history to be? Would this feature be provided in Sitefinity 4.0?

    However if you open a word document and edit it you will have to save it to the file system. Then go to Images and Documents module and go to the document item and select to re-upload the document.
    OK. Will have to see how I can overcome this some other way.

    Images and Documents module does not support versioning. However in Sitefinity 4.0 it will keep version history.
    So in Sitefinity 4.0, if I change the document, will the link still point to the new version automatically, or does every new version has its own identical id to link to? In other words, do I have to reset the link everytime there is a new version of the document or does the link starts bringing up teh latest version automatically?

    Radoslav, I thank you for beeing so patient with me in answering all my questions. I am exploring the boundaries of Sitefinity with the purpose of using it for a new customer. The new customer has some very specific requirements and I am trying to see if we can meet them by using Sitefinity.

    Many thanks,
    Andrei
  6. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    24 Sep 2010
    Link to this post
    Hello Andrei,

    We have the feature of keeping latest N number of versions logged for implementing, however it is not yet done. Currently you can achieve this by creating a database trigger as in this forum thread.

    The implementation of the content life cycle is such that the link to a resource is always pointing to the latest live version of an item. You do not need to reset link, this would be a huge deal breaker for most clients.

    Regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    24 Sep 2010
    Link to this post
    Radoslav,

    "...We have the feature of keeping latest N number of versions logged for implementing, however it is not yet done. Currently you can achieve this by creating a database trigger as in this forum thread...."
    What is the timescale on this feature then? I am not keen on using triggers unless I really have to. But good that there are two ways of sorting this issue aout (by code and by triggers). Good!

    "...The implementation of the content life cycle is such that the link to a resource is always pointing to the latest live version of an item. You do not need to reset link, this would be a huge deal breaker for most clients...."
    Yes this could be a "huge deal breaker", but can I clarify if it would be for us:
    Lets say, today I put an iFrame on a page and link it to doc_v1.doc. Overnight the doc_v2.doc has been re-uploaded to replace doc_v1.doc. Now the iFrame is displaying doc_v2.doc. Then I would like to rollback the page to its previous version (when it was displaying doc_v1.doc). Am I right in saying that the page will still be displaying doc_v2.doc? Our customer would prefer if doc_v1.doc was displayed hence the need for the rollback. Unless, I am beeing silly and not realising that I could rollback the document instead of the page and achieve the same. Let me know.

    Many thanks,
    Andrei
  8. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    24 Sep 2010
    Link to this post
    Hi Andrei,

    I am not yet able to give a time frame on this feature. I am sorry about that.

    You should roll back the document, not the page. So the link stays the same, but the content behind this link is changing.

    All the best,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  9. Andrei
    Andrei avatar
    553 posts
    Registered:
    27 Nov 2008
    27 Sep 2010
    Link to this post
    Radoslav,

    Ok, I will give it a go by way of code to sort the history out. Will let you know if I get into trouble.

    About the rollback, yes I got it now.

    Many thanks again,
    Andrei
Register for webinar
9 posts, 0 answered