Hi Yelena,
These are the steps I did in the .NET web application to get the Macro functionality working:
- Add the Macro configuration to gx_appConfig:
<MacroConfig>
<EncryptData>true</EncryptData>
<Flicker>0</Flicker>
<UserName>$(IP)</UserName>
<MacrosFolder>z_emulationDialogs/userMacros</MacrosFolder>
</MacroConfig>
- Add this line to template.master:
<%@ Register TagPrefix="macro" TagName="Panel" Src="./z_emulationDialogs/z_macroPanel.ascx" %>
- Added this line to the template.master, to add a Macro option to the menu links (another after the “other…” option):
<tr>
<td class="menulink" align=center valign=top>
<a style="color:#114773; text-decoration:none;;" href="#" onClick="z_openMacroDialog();" onMouseOver="window.status='Macro...';return true;" onMouseOut="window.status='';return true;">
Macro</a><macro:Panel ID="macroPanel2" runat="server" />
</td>
</tr>
*of course you can use whatever you want to trigger the macro dialog
- Added this to the z_macroDialog.htm file in the section:
<script src="z_resourceReader.aspx?res=z_emulationDialogs/z_macros.js"></script>
Let me know if this helps.
Regards,
Gadi
#webMethods#Mainframe-Integration#ApplinX