问题标签 [page-library]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
1689 浏览

sharepoint - No-code solution for calendar view of SharePoint news items

MOSS provides you an excellent option to create a "news" site in your portal. It adds some "Archive" functionality, but it is very limited - a list of all articles published in that particular site.

My users would like to see something better, a real archive of published articles, browsable by publishing date.

What I've tried so far, is creating a "Calendar" view in the http://portal/publishingsite/pages/ library. It works, but when you click a link in this calendar, it opens the "dispform.aspx?ID=123", not "mytestpage.aspx".

Is it possible to create a custom page using SharePoint designer where I can put a calendar (best if it can be browsed as easy as a typical calendar view in a list) and that links to pages in "page display mode" not in "SharePoint list item display mode"?

Maybe you have seen an easy-to-install and easy-to-maintain page archive feature for MOSS?

0 投票
1 回答
871 浏览

sharepoint - 在 SharePoint 中为匿名用户重置页面库权限

在网站集级别有一个页面库,它是与整个网站一起创建的。我很久没有接触它,直到最近我添加了新的内容类型,修改了一些页面布局和使用解决方案文件的母版页。使用为匿名用户配置的站点访问主页时,网页上出现“401 UNAUTHORIZED”错误失败。我注意到 URL 是 /_layouts/AccessDenied.aspx?Source=...&Type=list&name={...} 然后我将此字符串复制到经过身份验证的用户的站点,它显示为“错误:访问被拒绝”。我还检查了 name={...} 的 guid。它是页库列表 ID。

似乎没有正确设置页库权限。然而,子站点的其他页面库在匿名用户下都运行良好,使用相同的新内容类型、母版页和页面布局。他们的权限在设置页面上是相同的(都从父级继承)并且都启用了“允许匿名”。

我还尝试在该页面库中创建具有其他页面布局的页面,清理内容类型,但都没有帮助。

0 投票
1 回答
1331 浏览

sharepoint - 我可以在 MOSS 2007 中创建新的页面库吗

由于我当前的默认页面库有错误,我想创建一个新的页面库。但是列表/库选择中没有这样的库。我尝试了看起来相似的文档库和维基页面库,但它们不是我想要的。我想要具有发布功能的页面库。

谢谢。

0 投票
1 回答
44 浏览

android - 从 DataSource 更新 List 后,在 PagedListAdapter 中保留先前更新的 Item

我有一个RecyclerView使用PagedListAdapterROOM网络 API 获取数据的。它使用一个BoundaryCallback向API发出请求,返回的数据被插入到数据库(ROOM)中

我有一个具有递增和递减按钮的列表项... 在此处输入图像描述

当前列表是可过滤的,例如我可以按多个类别过滤产品列表

问题

如果我使用增量按钮将产品项目quantity增加到例如 12,然后我尝试通过添加更多类别来过滤列表,则当前列表不会刷新,这很好,因为 DiffUtil.ItemCallback 确认项目是相同的,但是一旦我尝试在按更多类别过滤后增加同一产品的数量,它就会再次从零开始......

请注意,数量不是房间中的一列,它是一个被忽略的变量。

所以我不太确定问题到底是什么:下面是执行递增和递减的代码。