<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "../../User_Guide.ent">
%BOOK_ENTITIES;
]>
<section id="sect-User_Guide-Dynamic_Navigation">
	<title>Dynamic Navigation</title>
	 <para>
      <emphasis>Dynamic Navigation</emphasis> enables you to set a parameter to configure the portlet by URL. This means that the URL containing the content path can be dynamically changed.
	</para>
	 <para>
		This section shows you how to use Dynamic Navigation in &PRODUCT;.
	</para>
	 <procedure id="proc-User_Guide-Dynamic_Navigation-Access_Dynamic_Navigation">
		<title>Access Dynamic Navigation</title>
		 <step>
			<para>
            Turn on the <emphasis role="bold">Edit Mode</emphasis> and hover the mouse cursor over either an <emphasis role="bold">SCV</emphasis> content element or a <emphasis role="bold">CLV</emphasis> content element, and then click the <guilabel>Preferences</guilabel> icon to open the preference form for SCV or CLV respectively.
			</para>
		</step>
		 <step>
			<para>
            Show the Dynamic Navigation pane by clicking the <guilabel>Advanced</guilabel> link at the bottom of the preferences window.
			</para>
            <example>
               <title>Dynamic Navigation in SCV</title>
               <mediaobject>
               <imageobject role="html">
                  <imagedata fileref="images/dynamicnavigationscv.png" format="PNG" align="center"/>
               </imageobject>
               <imageobject role="fo">
                  <imagedata fileref="images/dynamicnavigationscv.png" format="PNG" align="center" width="100mm" />
               </imageobject>
            </mediaobject>
            </example>
				<table frame="all">
					<title></title>
					 <tgroup cols="2">
						<thead>
                     <row>
                        <entry>
                           Field
                        </entry>
                        <entry>
                           Details
                        </entry>
                     </row>
                   </thead>
						 <tbody>
							<row>
								<entry>
                           <guilabel>Contextual Content</guilabel>
								</entry>
								 <entry>
									<itemizedlist>
										<listitem>
											<para>
                                    <guilabel>Disable</guilabel>: Means a single content will be opened by an URL containing the Content Path.
											</para>
										</listitem>
									</itemizedlist>
									 <itemizedlist>
										<listitem>
											<para>
                                    <guilabel>Enable</guilabel>: This portlet is configured with the provided parameter (content-id by default).
											</para>
										</listitem>
									</itemizedlist>
								</entry>
							</row>
							 <row>
								<entry>
									<guilabel>By</guilabel>
								</entry>
								 <entry>
									This parameter is the key in the URL to let SCV know which is the path in the current URL. It is editable when Contextual Content is enabled.
								</entry>
							</row>
						</tbody>
					</tgroup>
				</table>
			 <para>
            For example, open a single content with the Content Path <emphasis role="bold">ACME Introduce</emphasis>. The URL of the content is the following:
			</para>
			 <para>
            <emphasis>http://example.com:8080/ecmdemo/private/acme/printviewer?<emphasis role="bold">content-id</emphasis>=/repository/collaboration/sites content/live/acme/web contents/site artifacts/<emphasis role="bold">Introduce</emphasis>&amp;isPrint=true</emphasis>
			</para>
			 <para>
            <example>
               <title>Dynamic Navigation in CLV</title>
                  <mediaobject>
               <imageobject role="html">
                  <imagedata fileref="images/dynamicnavigation-clv.png" format="PNG" align="center"/>
               </imageobject>
               <imageobject role="fo">
                  <imagedata fileref="images/dynamicnavigation-clv.png" format="PNG" align="center" width="100mm"  />
               </imageobject>
            </mediaobject>
            </example>
			</para>
			 <para>
				<table frame="all">
					<title></title>
					 <tgroup cols="2">
						<thead>
                     <row>
                        <entry>
                           Field
                        </entry>
                        <entry>
                           Details
                        </entry>
                     </row>
                  </thead>
                  <tbody>
							<row>
								<entry>
                           <guilabel>Contextual Folder</guilabel>
								</entry>
								 <entry>
									<itemizedlist>
										<listitem>
											<para>
                                    <guilabel>Disable</guilabel>: A single content will be opened by an URL containing the Folder Path (for CLV).
											</para>

										</listitem>
										 <listitem>
											<para>
                                    <guilabel>Enable</guilabel>: The path of content list (<guilabel>Folder Path</guilabel> in the <guilabel>Content Selection</guilabel> path) can be dynamically changed by URL.
											</para>
										</listitem>
									</itemizedlist>
								</entry>
							</row>
							 <row>
								<entry>
                           <guilabel>By</guilabel>
								</entry>
								 <entry>
									This parameter is the key in the URL to let CLV know which is the actual path in the current URL.
								</entry>
							</row>
							 <row>
								<entry>
									<emphasis role="bold">Show in page</emphasis>
								</entry>
								 <entry>
									A single content in CLV will be shown in a selected page. You can choose any page but you should take one with a Content Detail Portlet. The Content Detail Portlet should enable “dynamic navigation” that interprets the URL and shows a single content.
								</entry>

							</row>
							 <row>
								<entry>
									<emphasis role="bold">With</emphasis>
								</entry>
								 <entry>
									This parameter is the key in the URL to let SCV know which really is the path in the current URL.
								</entry>

							</row>

						</tbody>

					</tgroup>

				</table>
			</para>

		</step>

	</procedure>

</section>


