ContentDataオブジェクトには、あなたが見ることができるIsPrivateプロパティがあります。最新(v8.5)では、私は次のようにします。コードの背後にある:
ContentManager contentManager = new ContentManager();
ContentCriteria criteria = new ContentCriteria();
criteria.AddFilter(ContentProperty.FolderId,
CriteriaFilterOperator.EqualTo,
folderId);
List list = contentManager.GetList(criteria);
Listview1.DataSource = list;
Listview1.DataBind();
ステートメントを使用するには、次のものが必要です。
using Ektron.Cms;
using Ektron.Cms.Common;
using Ektron.Cms.Framework;
using Ektron.Cms.Content;
using Ektron.Cms.Framework.Content;
ASP.NETテンプレートでは、標準のASP.NET ListView Server Controlを使用します。
<div>
.jpg" /><%#Eval("Title") %>
</div>
That'll get you heading in the right direction. For more information on the v8.5 Framework API, see this webinar http://www.ektron.com/Resources/Webinars/Framework-API/