Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Dynamic Menu control load failure error message displaying

SA-5085

Summary



Developer delegating a calendar to user portal. when opening it in user portal getting the following error(twice)

"Dynamic Menu control load failure error message".

The user portals are installed with the all the required activeX


The calendar requires OCX control (prDynamicMenus.ocx) which is not part of the End User and is part of Developer.

Error Messages



Dynamic Menu control load failure error message


Steps to Reproduce



1)Login to User portal
2)Calender delegated to the user portal
3)Clcik on the calender


Root Cause



The root cause of this problem is defect/misconfiguration in the PRPC operating environment. The calendar requires a ocx control which is not yet installed on the machine.



Resolution



The calendar requires a ocx control which is not yet installed on the machine.


The ocx is installed in the user portal with the help of a batch file dynamicMenuInstall.bat and a html file dynamicMenu.htm:


Steps for creating dynamicMenuInstall.bat
--------------------------------------------
1) open notepad.
2) paste the above given code of bat file.
 
    @echo off
    echo Install Dynamic Menu
    prCabInstall dynamicMenu.htm
    echo Pegasystems ActiveX controls have been installed.

3) save the file as dynamicMenuInstall.bat.

Steps for creating dynamicMenu.htm
--------------------------------------------
1) open notepad.
2) paste the below code in notepad

    <html>
<body>
<object classid="CLSID:072EBF73-01D7-40E5-AC5C-C35B2FEAEA8D"
    codebase="prdynamicmenus.cab#version=5,1,0,8" viewastext id="prdynamicmenus">
    <PARAM NAME="_ExtentX" VALUE="10">
    <PARAM NAME="_ExtentY" VALUE="10">
    <span id="prdynamicmenusFail" style="color:red">Process Commander Dynamic Menus Control Load Failure!</span>
</object>
</body>
</html>
3) save the file as dynamicMenu.htm.



Process:

1) open the cabinstaller which is packaged as part of your prpc media and unzip it(path Prpc media->ResourceKit->Utilites->OCXXInstaller->CabInstaller.zip)
2) paste the bat file 
dynamicMenuInstall.bat and html file  dynamicMenu.htm in unzipped cabinstaller folder
3) Run the bat file you have created from command prompt as follows.




4) prDynamicMenus.ocx file is generated at the location: C:\Windows\Downloaded Program Files
 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us