如何在自定义项目中正确设置站点地图添加 [英] How to properly set up a site map addition in a customization project

查看:63
本文介绍了如何在自定义项目中正确设置站点地图添加的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将自定义站点地图项添加到自定义项目中,但似乎不起作用。尝试添加项目时,列表显示了许多重复的屏幕,因此无法分辨出哪一个是正确的(我是否要全部选择?)。如果我将屏幕命名为独特的名称,然后添加它们,则它们仍不会出现在发布软件包的新站点中。我无法使其正常工作。

I've tried to add custom site map items to a customization project, but it doesn't seem to work. When attempting to add items, the list shows many duplicates of screens, making it impossible to tell which one is correct (do I select all of them?). If I name the screens something unique and then add them, they still don't show up in a new site where the package is then published. I cannot get this to work.

是否在某处列出了一个协议,该协议显示了向自定义项目添加站点地图项的正确方法?

Is there a protocol listed somewhere that shows the proper way to add sitemap items to a customization project?

推荐答案

如果添加新条目(例如 Manage, Explore等),则有些棘手,因为它们都显示相同(无法知道您需要选择哪个)。可能是因为您没有选择正确的条目。如果您选择自定义页面,但父项输入错误,我认为它不会出现。

it is a little tricky if adding new entries such as "Manage", "Explore", etc. entries as they all show up the same (no way to know which you need to select). It could be because you are not selecting the correct entries. If you select your custom page but the wrong parent entries I don't think it will show up.

我假设您的问题是获取正确的项,所以这里是一个我过去做过的事情...

I am assuming your problem is getting the correct entries so here is one thing I have done the past...

添加非页面站点地图条目时,在屏幕ID中填写一些唯一值,以便稍后使用...

When adding non page sitemap entries, fill in the screen id with some unique values so you can find it later...

然后,当添加站点地图条目时,您可以按屏幕ID
查找条目

Then when adding the site map entries, you can find the entries by screen ID

这篇关于如何在自定义项目中正确设置站点地图添加的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆