<?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>
		Dynamic Navigation enables you to get a parameter to configure the portlet by URL. It 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>
	 <para>
		Do the following to access Dynamic Navigation:
	</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 &gt;</emphasis> hover the mouse over SCV or CLV and select the <emphasis role="bold">Preferences </emphasis>icon.
			</para>
			 <para>
				If you select the Preferences icon of SCV, the Content Detail Preferences form displays.
			</para>
			 <para>
				If you select the Preferences icon of CLV, the Content List Preferences form displays.
			</para>

		</step>
		 <step>
			<para>
				Click the <emphasis role="bold">Advanced</emphasis> link in the Content Detail Preferences form/ the Content List Preferences form.
			</para>
			 <para>
				The Dynamic Navigation will display.
			</para>
			 <para>
				<emphasis role="bold">Dynamic Navigation in SCV</emphasis>
            <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="150mm" />
               </imageobject>
            </mediaobject>
			</para>
			 <para>
				Details:
			</para>
			 <para>
				<table frame="all">
					<title></title>
					 <tgroup cols="2">
						<colspec colname="c1"></colspec>
						 <colspec colname="c2"></colspec>
						 <tbody>
							<row>
								<entry>
									<emphasis role="bold">Contextual Content</emphasis>
								</entry>
								 <entry>
									<itemizedlist>
										<listitem>
											<para>
												Disable: It means the single content will be opened by an URL containing the Content Path.
											</para>

										</listitem>

									</itemizedlist>
									 <itemizedlist>
										<listitem>
											<para>
												Enable: This portlet is configured with the provided parameter (content-id by default).
											</para>

										</listitem>

									</itemizedlist>

								</entry>

							</row>
							 <row>
								<entry>
									<emphasis role="bold">By</emphasis>
								</entry>
								 <entry>
									This parameter is the key in the URL to let SCV know which really is the path in the current URL. It is editable when Contextual Content is Enable.
								</entry>

							</row>

						</tbody>

					</tgroup>

				</table>
			</para>
			 <para>
				For example, open single content with the Content Path "ACME Introduce". The URL of the content is the following:
			</para>
			 <para>
				URL: ... <emphasis role="italic">/ecmdemo/private/acme/printviewer?content-id=/repository/collaboration/sites content/live/acme/web content/site artifacts/Introduce&amp;isPrint=true</emphasis>
			</para>
			 <para>
				<emphasis role="bold">Dynamic Navigation in CLV</emphasis>
            <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="150mm"  />
               </imageobject>
            </mediaobject>
			</para>
			 <para>
				Details:
			</para>
			 <para>
				<table frame="all">
					<title></title>
					 <tgroup cols="2">
						<colspec colname="c1"></colspec>
						 <colspec colname="c2"></colspec>
						 <tbody>
							<row>
								<entry>
									<emphasis role="bold">Contextual Folder</emphasis>
								</entry>
								 <entry>
									<itemizedlist>
										<listitem>
											<para>
												Disable: It means the single content will be opened by an URL containing the Folder Path (for CLV)
											</para>

										</listitem>
										 <listitem>
											<para>
												Enable: It means the path of content list (Folder Path in the Content Selection path) can be dynamically changed by URL.
											</para>

										</listitem>

									</itemizedlist>

								</entry>

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

							</row>
							 <row>
								<entry>
									<emphasis role="bold">Show in page</emphasis>
								</entry>
								 <entry>
									The 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 the 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>


