Cannot Customize using customize browser on portal

六眼飞鱼酱① 提交于 2019-12-02 16:23:18

问题


I associated a business account for an unrestricted external user and have provided both portal admin and customizer roles but still cannot customize on the portal and when I try to open a customization project, it says


回答1:


I have a case open with Acumatica on the same issue. The problem is the main project browser page is missing from the portal site map. Run the SQL statement below on the database and restart the Acumatica instance.

UPDATE 6/15/2018 - I ran into this issue again on another upgrade and my original script below didn't work because the Position field was wrong. I have adjusted it to insert into Position 1036 which now seems to work.


INSERT INTO PortalMap (CompanyID, Position, Title, Description, Url, Expanded, IsFolder, ScreenID, CompanyMask, NodeID, ParentID, CreatedByID, CreatedByScreenID, CreatedDateTime, LastModifiedByID, LastModifiedByScreenID, LastModifiedDateTime)
SELECT CompanyID, 1036, Title, Description, Url, Expanded, IsFolder, ScreenID, CompanyMask, NodeID, '84351BC9-BF6C-48B5-9DEA-F8207283B64A', CreatedByID, CreatedByScreenID, CreatedDateTime, LastModifiedByID, LastModifiedByScreenID, LastModifiedDateTime FROM SiteMap WHERE ScreenID = 'AU000000' AND CompanyID = 1



回答2:


I had the same issue and @Kurt Bauer answer is the correct answer but I needed to update the SQL to get mine to work (version 18.212) and the sql is to big for a comment. I found that inserting for the company I was in did it for me, not just CompanyID 1. Here is the SQL I used:

INSERT INTO dbo.PortalMap
(
    CompanyID,
    Position,
    Title,
    Description,
    Url,
    Expanded,
    IsFolder,
    ScreenID,
    CompanyMask,
    NodeID,
    ParentID,
    CreatedByID,
    CreatedByScreenID,
    CreatedDateTime,
    LastModifiedByID,
    LastModifiedByScreenID,
    LastModifiedDateTime,
    RecordSourceID
)
SELECT CompanyID,
       Position,
       Title,
       Description,
       Url,
       Expanded,
       IsFolder,
       ScreenID,
       CompanyMask,
       NodeID,
       ParentID,
       CreatedByID,
       CreatedByScreenID,
       CreatedDateTime,
       LastModifiedByID,
       LastModifiedByScreenID,
       LastModifiedDateTime,
       RecordSourceID
FROM dbo.SiteMap
WHERE ScreenID = 'AU000000'
      AND NOT EXISTS
(
    SELECT *
    FROM dbo.PortalMap
    WHERE CompanyID = dbo.SiteMap.CompanyID
          AND ScreenID = dbo.SiteMap.ScreenID
);


来源:https://stackoverflow.com/questions/47997698/cannot-customize-using-customize-browser-on-portal

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!