Managed Properties not updated in managed solution RRS feed

  • Question

  • We made update in the managed properties of entities and web resources as IsCustomizable 'false'. When we import the solution as managed in other environment, the solution is not getting updated, still the entities are showing Customizable 'True'. Any suggestion for this.

    Arun Kumar G

    Tuesday, September 3, 2013 8:16 AM

All replies

  • Hi,

    Are you re-importing same solution (with higher version)? Does the previous solution managed or unmanaged?

    My Weblog | My Website

    Tuesday, September 3, 2013 8:29 AM
  • Hi Arun,

          Please go through this, to  check your managed solution import . 

    Update Managed Properties

    After you release your managed solution, you may decide that you want to change the managed properties. You can only change managed properties to make them less restrictive. For example, after your initial release you can decide to allow customization of an entity.
    You update managed properties for your solution by releasing an update to your solution with the changed managed properties. Your managed solution can only be updated by another managed solution associated with the same publisher record as the original managed solution. If your update includes a change in managed properties to make them more restrictive, those managed property changes will be ignored but other changes in the update will be applied.
    Because the original publisher is a requirement to update managed properties for a managed solution, any unmanaged solution cannot be associated with a publisher that has been used to install a managed solution.
    This means you will not be able to develop an update for your solution by using an organization where your managed solution is installed.

    Check Managed Properties

    Use the IsComponentCustomizableRequest to check whether a solution component is customizable. Alternatively, you can check the solution component properties but you must consider that the ultimate determination of the meaning depends on the values of several properties. Each solution component has an IsCustomizable property. When a solution component is installed as part of a managed solution, the IsManaged property will be true. Managed properties are only enforced for managed solutions. When checking managed properties to determine if an individual solution component is customizable, you must check both the IsCustomizable and IsManaged properties. A solution component where IsCustomizable is false and IsManaged is false, is customizable.
    Entity and attribute have more managed properties in addition to IsCustomizable. These managed properties are not updated if IsCustomizable is set to false. This means that in addition to checking the individual managed property, you must also check the IsCustomizable property to see if the managed property is being enforced.




    • Proposed as answer by Paul Nieuwelaar Tuesday, September 3, 2013 10:38 AM
    Tuesday, September 3, 2013 8:48 AM