【问题标题】:How to tell if a customization is running in an Acumatica portal site vs standard Acumatica ERP site?如何判断定制是否在 Acumatica 门户站点与标准 Acumatica ERP 站点中运行?
【发布时间】:2017-04-18 23:07:44
【问题描述】:

我是否可以在 Acumatica 框架中进行一些调用(除了查找“SP”文件),表明站点是“门户”站点而不是标准 Acumatica ERP 实例站点?

如果实例作为门户网站运行而不是作为门户网站运行,我需要关闭/打开一些逻辑。

【问题讨论】:

    标签: acumatica


    【解决方案1】:

    您可以检查以下静态布尔属性:

    PXSiteMap.IsPortal
    

    【讨论】:

    • 经过测试并确认这给了我我需要的东西。感谢您快速而完美的回答。
    猜你喜欢
    • 1970-01-01
    • 2013-08-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-03-11
    • 1970-01-01
    • 2020-11-03
    • 2014-08-29
    相关资源
    最近更新 更多