시스템 콘텐츠 관리
CMS 사이트에 있는 대부분의 콘텐츠는 시스템 전체의 여러 위치에서 관리됩니다.
예를 들어, 지식 웹 사이트를 구축하는 경우 페이지와 블록은 CMS에 있지만 지식 문서는 Knowledge 애플리케이션에서 작성되고 관리됩니다. 활용하려는 다른 유형의 콘텐츠도 마찬가지입니다. 콘텐츠를 익히려면 데이터의 테이블 구조를 이해하는 데 시간을 할애하는 것이 중요합니다.
콘텐트에 대한 링크는 일반적으로 정적이지만 문서 트리를 살펴보고 CMS 내에서 사용할 필드 값의 서식을 검토하는 데 시간이 걸립니다. 아래에 제공된 정보를 이해하려면 플랫폼의 양식 내에서 마우스 오른쪽 버튼을 클릭하고 XML 표시 를 선택하여 참조된 테이블의 문서 트리를 보십시오. 각 필드의 테이블 값을 보려면 양식 레이블을 마우스 오른쪽 버튼으로 클릭하고 표시 - (필드 이름) 또는 참조할 딕셔너리 구성을 선택하십시오.
여러 인터넷 뉴스 사이트에서 동적 목록 데이터의 서식을 지정하는 방법과 전체 기사 세부 정보를 살펴보십시오. 블로그 사이트, 쇼핑 사이트 및 레이아웃 및 사용성 디자인에 시간이 많이 걸릴 수 있으므로 사용하기 쉬운 기타 사이트를 조사하십시오. 영감을 주는 사이트를 찾으면 디자인에서 모방하십시오.
- 이 New York Times 예제 에는 두 개의 별도 목록 형식이 있습니다.
- CNN 예제에는 페이지에 여러 목록 형식이 있습니다.
- 웹 사이트에서는 ServiceNow 여러 가지 목록 형식이 사용됩니다.
지식 문서 - kb_knowledge 테이블
마우스 오른쪽 단추를 클릭하고 시스템 내의 모든 양식에서 XML 표시 를 선택하면 참조된 데이터베이스 테이블의 문서 트리를 참조할 수 있게 됩니다. 문서 트리에서 선택한 다음 하위 집합을 검토하여 사이트 디자인에서 쉽게 사용할 수 있는 콘텐츠를 익힐 수 있습니다.
<kb_knowledge>
<active>true </active>
<author display_value= "First Last Name" >Use this field value if author name is important </author>
<short_description>Use this field value as the link to the full article detail </short_description>
<description>Provide this field value as a 1-2 sentence summary of the article </description>
<number>Unique ID can be leveraged in a number of different ways </number>
<published>Published time stamp of the article </published>
<rating>This field value provides a 1 to 5 star rating similar to iTunes </rating>
<sys_updated_on>Add to supplement article published timestamp </sys_updated_on>
<sys_view_count>8 </sys_view_count>
<topic>Useful field value in creating hierarchical breadcrumbs </topic>
<category>Also useful in organizing articles hierarchically </category>
<use_count>Use this similar to Facebook's "like" feedback, answer to the question was this useful </use_count>
</ kb_knowledge>
<?xml version= "1.0" encoding= "utf-8" ?>
<j:jelly trim = "false" xmlns:j = "jelly:core" xmlns:g = "glide" xmlns:j2 = "null" xmlns:g2 = "null" >
<div class = "cms_knowledge_list customer_success" >
<g:for_each_record file = "${current}" max = "${jvar_max_entries}" ><br /><table cellspacing = "0" cellpadding = "0" border = "0" class = "background_transparent" >
<tr><td class = "cms_knowledge_list_image" >
<j:if test = "${current.u_logo.getDisplayValue() != ''}" >
<div class = "knowledge_article_logo" >
<a href = "knowledge.do?sysparm_document_key=kb_knowledge,${current.sys_id}" >
<img src = "${current.u_logo.getDisplayValue()}" alt="${current.text}" width = "110px" />
</a>
</div>
</j:if>
</td>
<td width = "100%" >
<a href = "knowledge.do?sysparm_document_key=kb_knowledge,${current.sys_id}" target = "_top" >
<span class = "cms_knowledge_list_link" >${current.short_description}</span>
</a>
<p class = "kb_description" > "${current.description}"
<!--${SP}-${SP}<span class="cms_knowledge_list_author">${current.author.first_name}${SP}${current.author.last_name}</span>-->
</p>
</td></tr><tr>
<td width = "100%" colspan = "2" class = "kb_learn_more" >
<p class = "kb_learn_more" >
<a href = "knowledge.do?sysparm_document_key=kb_knowledge,${current.sys_id}" >Learn More</a>
</p></td></tr></table>
</g:for_each_record></div>
</j:jelly>