Dear Madam / Sir,
I have merged existing Dynamics.dic of GP2010 to GP2013's dynamics.dic by dexterity utilities 12.0. After chunk creation when I tested GP2013, I got an issue that Area Pages were not getting displayed which were properly getting displayed in GP2010. I had gone through Integration guide of GP2013 and came to know that syntax have been changed. I changed the code to load area page, recreated chunk and rechecked but still it couldnt' resolve the issue. I am herewith pasting the code to load areapage. Please let me know if there is any other specific reason behing it.
local CommandTag PageTag;
local AreaPageXMLState XMLState;
local boolean result;
local integer ParentCmdTag,ParentDictID,ParentFormID,ParentCmdID;
{Runtime_GetCurrentProductID()}
Command_GetIDs(Command_GetTag(command CL_Formula_Cards of form Command_BMM),ParentDictID,ParentFormID,ParentCmdID);
{Get the tag for the page}
PageTag = Command_GetTag(ParentDictID, ParentFormID, ParentCmdID);
call Command_HideAndDisable, command CustomizeHomePage of form Command_System;
{Add items to the Area page}
call Create of form syAreaPageXML, XMLState, "Formulation";
{Add items if needed}
if not empty(XMLState:XMLDoc) then
{Cards}
if SectionWillDisplay(PageTag, Command_GetTag(command CL_Formula_Cards of form Command_BMM),
SECTIONTYPE_APCARDS of form syContentPageObj,
getmsg(9823) {Cards}, 1) of form syAreaPageObj then
call AddContentArea of form syAreaPageXML, XMLState, getmsg(9823) {Cards}, IMAGE_CARDS of form syAreaPageXML,
true, 1;
call AddCommand of form syAreaPageXML, XMLState, command
CL_Formula_Cards of form Command_BMM;
result = AddSectionXML(PageTag, Command_GetTag(command CL_Formula_Cards of
form Command_BMM), XMLState) of form syAreaPageObj;
end if;
end if;
I shall be profusely thankful for your help.
Thanks and Regards -
Jitendra Verma
*This post is locked for comments