How to Convert Item Type from Non versionable to Versionable

オフライン

Hello All..

I have Item Type "A" which is not a versionable initially. Created around 1000 records for this item type and now I need to create revisions to this and edited Item type to "Versionable". While trying to edit item type, it gives error as below.

Support of "none" versioning discipline for items is not implemented. 

Am surprised that, do Aras have no possiblity to change non version item type to versionable??

Thanks & Regards,

Super A.

  • Hi Super,

    It is possible to convert a non-versioned ItemType to a versionable ItemType. When making a versionable ItemType, you must specify whether the ItemType will be versioned automatically or manually. This is set through the Discipline field which is required for versionable ItemTypes. 

    Typically, when you check the Versionable flag on the ItemType, this Discipline field becomes enabled. However, we're aware of an issue with 11.0 SP15 that prevents this field from being enabled on ItemTypes that have already been created. You can follow the steps below as a workaround for this issue.

    1. Open the ItemType you wish to make versionable
    2. Lock the ItemType
    3. Check the Versionable box
    4. Close the tab for the ItemType
    5. Reopen the ItemType from the main grid
      1. You should see that the Discipline field is enabled when you reopen the ItemType

    Chris

    Christopher Gillis

    Aras Labs Software Engineer

  • Thanks for reply Chris. You are right. After going through the "ItemType" form events, i realized this and able to workout. Thanks again for taking time to write this.

    Super A.

  • Dear thanks for your detailed explanation on my earlier question. In continuation to my previous requirement, I have one more question. Hope you could find some time to answer my question. Now am able to create manual versions on my custom item type. But when the item is revisioned, workflow is not restarted. Does Aras restrict such restart of workflow? if yes, how could i achieve this. This is part of my data migration requirement where the newly migrated items needs to be in "Released" state and should be capable enough to revisioned and behave as normal flow.

  • What to do in V12?
    (valid until including V12 SP12 )

    1. Open the ItemType you wish to make versionable
    2. Click Edit for the ItemType
    3. Check the Versionable box
    4. Click the Refresh button and accept, that unsaved data is lost
    5. Click inside the Discipline field and select a discipline
    6. Click Save or Done



  • Valid for v12 SP16 the following steps worked for me but are a bit painful.

    1. Open the Itemtype you wish to make versionable

    2. Click to Edit the ItemType

    3. Check the Versionable Box

    4. Open up the Developer Console and use the element selector to find the Discipline Textbox in the raw HTML.  It will be called something like <input class="aras-filter-list__input aras-form-input"..../> two of the properties in that xml entry will be "readonly" and "disabled"

    5. Click to edit the HTML and delete the entries:

    readonly="" and disabled=""

    from the xml block identifed.

    6. Type in "Automatic" into the Discipline field in your normal browser.

    7. Save the Itemtype.

    Edit - below steps worked for me twice ?!? but never again so clearly something else was done..

    1. Open the ItemType you wish to make versionable
    2. Click to Edit the ItemType
    3. Check the Versionable box
    4. Open the Revisions menu and in Versioning and re-select the Revisions of choice (in my case I left as Default)
    5. Post step-4 the Disicipline box became editable and I was able to select Automatic
    6. Save the ItemType.