some Api Change kentico 7 to 8.2

Reza sh asked on December 6, 2015 11:13

hi. i used these api in kentico 7. but i want to use in kentico 8.2. whats are the new of these:

  InfoDataSet<SKUOptionCategoryInfo> optionCategoryInfos =
        SKUOptionCategoryInfoProvider.GetSKUOptionCategories(wheresoci, "");

        DataSet temps = CMS.PortalEngine.PageTemplateInfoProvider.GetTemplates(ptiWhere,null);

         DataSet existSku = SKUInfoProvider.GetSKUs(where, null);

         field.DataType = FormFieldDataTypeEnum.Integer;

         DataClassInfo parentClass = DocumentTypeHelper.GetClassNames("cms.menuitem");


         DataSet Options = SKUInfoProvider.GetSKUs(where, null);

         DataSet categories = OptionCategoryInfoProvider.GetOptionCategories(whereCO, null);

         newCategory.CategorySiteID = CMSContext.CurrentSiteID;


thanks. please help me, this is very important.

Recent Answers

Juan Alchourron answered on December 6, 2015 14:50

1 votesVote for this answer Mark as a Correct answer

Bryan Soltis answered on December 7, 2015 15:23

Hi Reza,

With every new version, we also produce a tool that can analyze your code and help you identify what needs to be updated. Because you are going from 7 to 8.2, you will need to the upgrade to 8 first (using the tool if needed), and then to 8.1 and 8.2. You will find the tool will show you a lot of occurrences to change, however, most of the will be the same calls and are easy fixes.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.