<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LiveCycle Guide Builder</title>
	<atom:link href="http://blogs.adobe.com/lcguidebuilder/feed" rel="self" type="application/rss+xml" />
	<link>http://blogs.adobe.com/lcguidebuilder</link>
	<description>Development Team Blog for Guide Builder</description>
	<lastBuildDate>Mon, 26 Jul 2010 07:27:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Integrating LiveCycle Guides with Omniture SiteCatalyst</title>
		<link>http://blogs.adobe.com/lcguidebuilder/2010/06/integrating_livecycle_guides_with_omniture_sitecatalyst.html</link>
		<comments>http://blogs.adobe.com/lcguidebuilder/2010/06/integrating_livecycle_guides_with_omniture_sitecatalyst.html#comments</comments>
		<pubDate>Thu, 24 Jun 2010 11:27:14 +0000</pubDate>
		<dc:creator>Jean Brousseau</dc:creator>
				<category><![CDATA[Guide Builder ES2]]></category>
		<category><![CDATA[Guide Omniture data collection]]></category>
		<category><![CDATA[guides]]></category>
		<category><![CDATA[omniture]]></category>

		<guid isPermaLink="false">http://blogs.adobe.com/lcguidebuilder/2010/06/integrating_livecycle_guides_with_omniture_sitecatalyst.html</guid>
		<description><![CDATA[A document has been posted on the Adobe Developer Connection site explaining how to create a LiveCycle Guide instrumented so that data can be sent back for analysis using Omniture SiteCatalyst. Using this combination of tools, you can determine which &#8230; <a href="http://blogs.adobe.com/lcguidebuilder/2010/06/integrating_livecycle_guides_with_omniture_sitecatalyst.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>A document has been posted on the Adobe Developer Connection site explaining how to create a LiveCycle Guide instrumented so that data can be sent back for analysis using Omniture SiteCatalyst. Using this combination of tools, you can determine which of your Guides are most often used, whether users have problems filling in the guide by determining whether they actually get to the end of the process. Based on the information you can modify the guide to ensure it&#8217;s easier to navigate and fill and get a higher completion rate. Quite a powerful combination!</p>
<p>Here&#8217;s a link to the <a href="http://www.adobe.com/devnet/livecycle/pdfs/integrate_lcguides_omnituresitecatalyst.pdf">document</a>.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.adobe.com/lcguidebuilder/2010/06/integrating_livecycle_guides_with_omniture_sitecatalyst.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Custom Data Model</title>
		<link>http://blogs.adobe.com/lcguidebuilder/2009/11/creating_a_custom_data_model.html</link>
		<comments>http://blogs.adobe.com/lcguidebuilder/2009/11/creating_a_custom_data_model.html#comments</comments>
		<pubDate>Tue, 24 Nov 2009 13:17:59 +0000</pubDate>
		<dc:creator>Ben Helleman</dc:creator>
				<category><![CDATA[Adobe Data Model]]></category>
		<category><![CDATA[Guide Builder ES2]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[data model]]></category>

		<guid isPermaLink="false">http://blogs.adobe.com/lcguidebuilder/2009/11/creating_a_custom_data_model.html</guid>
		<description><![CDATA[In this blog entry I&#8217;m going to discuss how you can modify the generated Adobe Data Model Action Script source code. You might ask why would you want to?  Most often you probably don&#8217;t need to, but what if you wanted &#8230; <a href="http://blogs.adobe.com/lcguidebuilder/2009/11/creating_a_custom_data_model.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In this blog entry I&#8217;m going to discuss how you can modify the generated   Adobe Data Model Action Script source code. You might ask why would you want   to?  Most often you probably don&#8217;t need to, but what if you wanted to add more   logic, custom behavior etc, this is how you can achieve the advanced features   you might be looking for.</p>
<p><strong>Setup</strong></p>
<p>I have already created a LiveCycle Application called &#8220;Precompiled&#8221;,   and my Adobe Data Model is called &#8220;Customized.fml&#8221;.  You&#8217;ll be seeing   these names in the screenshots and throughout the article.</p>
<p><strong>Code Generation</strong></p>
<p>When you start off building a LiveCycle Guide, you need to base it off of an   existing Data Model (fml) file and clicked finish.  Did you notice what   happened next?  You might have noticed a dialog that looked similar to this.</p>
<p><img height="211" src="http://blogs.adobe.com/lcguidebuilder/4.png" width="450" /></p>
<p>Guide Builder took the selected fml file (in this case Customized.fml), and   had the Adobe Data Model APIs generate the corresponding ActionScript code for   that Data Model. The result of this operation was twofold. The first is the   compiled swf, this is your runtime Data Model that gets added to your .guide   file.  The second was a collection of ActionScript files. When Guide Builder   generates the corresponding source files they are written to the </p>
<p align="center">&#8220;Application Data   directory\Adobe\LiveCycle\ES2\Guides\generated&#8221; </p>
<p>folder.</p>
<p><img height="284" src="http://blogs.adobe.com/lcguidebuilder/5.jpg" width="521" /></p>
<p>The generated directory contains a cache of the compiled Adobe Data Models,   and ActionScript source code that was used to generate your Guides.  The   &#8220;Precompiled&#8221; folder that we see in the above screenshot is the name of   my LiveCycle Application.  When we dig deeper into the directories we see the   output of the compile as shown here.</p>
<p><img height="258" src="http://blogs.adobe.com/lcguidebuilder/6.jpg" width="519" /></p>
<p>Excellent!  Here is where get to start jumping into customizing the Data   Model code.</p>
<p><strong>Code Customizing </strong></p>
<p>It&#8217;s time to fire up Flex/Flash Builder. To start off you&#8217;ll be creating a   ActionScript project. File -&gt; New -&gt; ActionScript Project. </p>
<p><img height="382" src="http://blogs.adobe.com/lcguidebuilder/a7-png.jpg" width="519" /></p>
<p>Note you must configure FlashBuilder to use the Flex SDK   that is shipped on the LiveCycle DVD.  </p>
<p>Enter a name for your Project and point the Project contents to the generated   folder, drill down until you find the source, or simply copy the generated code   to your own preferred location.  Click Next to configure your library path.</p>
<p>You may need to include additional swc files to successfully compile the Data   Model.  The following screenshot shows you what you&#8217;ll need.  I had to add the   framework.swc, and rcp.swc files to the   library path for things to compile successfully. </p>
<p><img height="475" src="http://blogs.adobe.com/lcguidebuilder/as-project-1_002.jpg" width="520" /></p>
<p>After adding the required swc files you can click finish.</p>
<p>Now, depending on your approach you might have to move files around.  The   above screenshot said that my Main source folder was src.  I had to move the   generated code into that folder such to satisfied the project settings.</p>
<p>Phew, okay the hard part is over. </p>
<p>You will notice that the new ActionScript project created a Customized.as   file.  You can delete this file as we&#8217;ll assign the _Customized.as file to be   the Primary Application thereby allowing the compiler to successfully build the   swf.  To set the _Customized.as as the Primary Application you can right click   the _Customized.as file and select &#8220;Set as Default Application&#8221;, or right click   your project, select Project Properties, and select ActionScript   Applications.  You&#8217;ll have to click the add button and navigate to the   _Customized.as file.  Once this is complete, click okay.  </p>
<p>Hopefully at this point you should be able to compile the current code into a   swf.  Check the output folder (bin-debug, by default) to see if it was   generated. Now the sky is really the limit to what you can do to make   modifications to the Data Model source code.  </p>
<p>In this example I&#8217;m going to make a modification to one of the get functions   to change the string value that gets returned.</p>
<p><strong>Hack Time!</strong></p>
<p>Okay, lets dig our heals into the generated code.  I started with a very   simple Data Model which contains a single Entity (Person), with one property   (age), because this is going to be my root node, this entity is persistent   and contains an id property.</p>
<p><img height="76" src="http://blogs.adobe.com/lcguidebuilder/entity.png" width="124" /></p>
<p>Before hacking the code, here is a screenshot of what the Guide looks like   after dragging on the age property, and dragging on a Text field, and binding   the Text value to the age value.</p>
<p><img height="378" src="http://blogs.adobe.com/lcguidebuilder/a7g.jpg" width="519" /></p>
<p>When I preview the Guide and enter the value 20, this is the result.</p>
<p><img height="299" src="http://blogs.adobe.com/lcguidebuilder/a7c.jpg" width="519" /></p>
<p>This is our unmodified Guide.  This Guide is running the Generated swf file.    Not the one we&#8217;re about to code.</p>
<p>The generated code that I&#8217;m going to play with is in a class called   _Super_Person.as.  Cracking this file open I modify the get method for age to   simply return a more elaborate string than the user&#8217;s entered value. Save and   recompile.</p>
<p><img height="361" src="http://blogs.adobe.com/lcguidebuilder/a7f.jpg" width="517" /></p>
<p>This is a really basic modification, but it allows you to see how you can go   about customizing the Data Model code and building in your own logic.</p>
<p>When the compile has completed, it&#8217;s time to wire up the existing Guide to   use our precompiled Data Model.  To do this, flip back to Guide Builder.  First   we need to add our newly compiled Data Model to our Application.  Copy and   paste, or drag and drop the new Data Model swf into your Application.  </p>
<p>Next is to make sure the Data Model View is visible.  If for some reason you   can&#8217;t locate this view you can reopen it from the menu, Windows -&gt; Show   View -&gt; Data Model.</p>
<p>If the Data Model View isn&#8217;t selected, select it now to bring it to the   forefront. Right click within the Data Model View, and select the &#8220;Data   Model Settings&#8230;&#8221; menu option. </p>
<p><img height="379" src="http://blogs.adobe.com/lcguidebuilder/a7d.jpg" width="521" /></p>
<p>The result is the Data model settings dialog is displayed.</p>
<p><img height="380" src="http://blogs.adobe.com/lcguidebuilder/a7e.jpg" width="519" /></p>
<p>You will see that there is a &#8220;Pre-build data model (SWF)&#8221; field entry which   is blank at this point. Click the browse button to navigate to your newly   compiled Data Model swf.</p>
<p><img height="499" src="http://blogs.adobe.com/lcguidebuilder/a7h.png" width="428" /></p>
<p>Select it and press OK.  The Pre-build data model entry should now be   populated with the path to the compiled Data Model.</p>
<p><img height="378" src="http://blogs.adobe.com/lcguidebuilder/a7i.jpg" width="517" /></p>
<p>At this point we can execute a Preview and see the results of our glorious   code changes.</p>
<p><img height="299" src="http://blogs.adobe.com/lcguidebuilder/a7j.jpg" width="519" /></p>
<p>When the Guide fires up, there is no value so we see the result of the get   age call.  &#8220;Less than 20&#8243;.  If I were to input a value greater than 20, the   resulting text would also change. </p>
<p><strong>Reusing The Data Model</strong></p>
<p>Remember way back when you click &#8220;File -&gt; New Guide&#8230;&#8221;, on the   second page of the New Guide Wizard there was a check box way down on the bottom   saying something to the point of using a precompiled data model.  Well, now this   makes sense!  The next time you want to create a Guide based off the same fml   file with the same customized code, here is where you can select the precompiled   Data Model swf file.  Guide Builder will refrain from compiling the fml file and   will use the custom Data Model swf.   Nice!</p>
<p>Creating your own Data Model code probably isn&#8217;t an everyday operation as   most of your logic and rules should be part of your Data Model&#8217;s fml file,   however if you can&#8217;t get everything you want from this, you now know how to get   into the bowels of creating  your own custom Data Model code.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.adobe.com/lcguidebuilder/2009/11/creating_a_custom_data_model.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Optimizing Your Guide</title>
		<link>http://blogs.adobe.com/lcguidebuilder/2009/11/optimizing_your_guide.html</link>
		<comments>http://blogs.adobe.com/lcguidebuilder/2009/11/optimizing_your_guide.html#comments</comments>
		<pubDate>Mon, 16 Nov 2009 11:35:27 +0000</pubDate>
		<dc:creator>Ben Helleman</dc:creator>
				<category><![CDATA[Guide Builder ES2]]></category>
		<category><![CDATA[assets]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[optimize]]></category>

		<guid isPermaLink="false">http://blogs.adobe.com/lcguidebuilder/2009/11/optimizing_your_guide.html</guid>
		<description><![CDATA[You&#8217;ve been working hard on your Guide polishing it up and down, meeting the requirements, and writing those unique custom controls.  The images are good, the colors are bang on, and you&#8217;re ready to publish the Guide!   Well, maybe not &#8230; <a href="http://blogs.adobe.com/lcguidebuilder/2009/11/optimizing_your_guide.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>You&#8217;ve been working hard on your Guide polishing it up and down, meeting the requirements, and writing those unique custom controls.  The images are good, the colors are bang on, and you&#8217;re ready to publish the Guide!   Well, maybe not quite yet.   Let&#8217;s double check a few things before moving forward.                                    </p>
<p><strong>Assets</strong></p>
<p>
Those assets that we love to include to make our applications shine are essential to have, but do you know what you&#8217;re imposing?  Many times we receive images from our graphic designers that may look nice, but may also kill our end users experience.  It&#8217;s up to you to double check to make sure that those assets aren&#8217;t large in file size.  Many times designers will give us the best looking image, but fail to scale it down for the web experience.  Send that one megabyte image back to your graphic designer and ask them to bring it down to a couple of kilobytes.  If you were to embed that one <br />
megabyte file into your Guide, the resulting end user experience is going to suffer. </p>
<p>
Sometimes the goal is to include a corporate look, which may impose the necessity to embed fonts.  Be aware of those font sizes, they add up fast when you need to include, bold, italic, and normal.  </p>
<p><strong>Custom Code </strong></p>
<p>Sometimes losing something is a good thing.  This one setting is essential to set when compiling your custom Guide code.  </p>
<p>If you&#8217;re using ant to perform your build you will need to set your library linkage to use &quot;-external-library-path&quot; for the dcruntime_library.swc.  </p>
<p>
If you&#8217;re using Flash Builder, you&#8217;ll be modifying the &quot;Link Type&quot; for dcruntime_library.swc.  Open the project properties, select &quot;Flex Library Build Path&quot;, then select the &quot;Library Path&quot; tab.  Expand the dcruntime_library.swc entry where you will see the &quot;Link Type&quot; field.</p>
<p><img src="http://blogs.adobe.com/lcguidebuilder/linktype.PNG" width="600" height="365" /></p>
<p>By default this value is set to external.  Double click the Link Type entry and it will open up a second window. </p>
<p><img src="http://blogs.adobe.com/lcguidebuilder/linktype-external.png" width="504" height="436" /></p>
<p>Change the value from merged into code to External.   Apply the changes and recompile your custom code.   Ah, doesn&#8217;t that feel better, 1.4 megabytes gone!  </p>
<p>Be smart of what you&#8217;re including in your Guide.  The experience needs to be a primary concern for all of us.  Assets are scaled correctly; code is linked correctly, now it&#8217;s time to publish that Guide!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.adobe.com/lcguidebuilder/2009/11/optimizing_your_guide.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
