Hello all,
I am developing a solution so that need to see only create page(Form) when click on Sitemap menu _customEntityName.
and have created a entity and assign sitemap using SDK with create privilage but not working.
XElement root = new XElement("Area");
root.Add(new XAttribute("Id", "DotsquaresPack"),
new XAttribute("ShowGroups", "true"),
new XAttribute("Title", "DotsquaresPack"));
root.Add(new XElement("Group",
new XAttribute("Id", "Group_SubDotsquaresCalendarEventsWebForm"),
new XAttribute("Title", "DotsquaresCalendarEvents"),
new XElement("SubArea", new XAttribute("Id", "SubArea_dots_eventcalendar"),
new XAttribute("Entity", _customEntityName),
new XElement("Privilege", new XAttribute("Entity", _customEntityName),
new XAttribute("Privilege", "Create")
))));
sitemapxml.Element("SiteMap").Add(root);
sitemap["sitemapxml"] = sitemapxml.ToString();
_serviceProxy.Update(sitemap);
PublishXmlRequest request = new PublishXmlRequest();
request.ParameterXml = "<importexportxml><sitemaps><sitemap></sitemap></sitemaps></importexportxml>";
_serviceProxy.Execute(request);
thanks
*This post is locked for comments