<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" count="10"><channel><title>PrimeObjects Developer Updates</title><link>http://www.primeobjects.com</link><description>Intelligent Business Knowledge Management, based on the Service Oriented Architecture (SOA) and Business Object Oriented Methodology, is the core of PrimeObjects’s platform. No matter it is dashboard, report, people, document, content, search, social communication, alert or activity, every feature in our solution is working around core business object. Our platform and solution are designed to solve real business issues, achieve accurate business intelligence and improve true business performance.</description><item rank="0" id="f14ef6a8-5dd8-4ba7-880c-9c47764bfb67" name="BlogItem"><title><![CDATA[The 3 ways that HTML elements can be displayed]]></title><description><![CDATA[<p>All HTML elements are naturally displayed in one of the following ways:</p>
<div class="comment indent">
<dl><dt>Block</dt><dd>Takes up the full width available, with a new line before and after (<span class="code">display:block;</span>)</dd><dt>Inline</dt><dd>Takes up only as much width as it needs, and does not force new lines (<span class="code">display:inline;</span>)</dd><dt>Not displayed</dt><dd>Some tags, like <span class="code">&lt;meta /&gt;</span> and <span class="code">&lt;style&gt;</span> are not visible (<span class="code">display:none;</span>)</dd></dl>
</div>
<h3>Block example</h3>
<p><span class="term">&lt;p&gt;</span> tags and <span class="term">&lt;div&gt;</span> tags are naturally displayed block-style.</p>
<p>(I say “naturally” because you can override the display style by setting the CSS display property e.g. <span class="code">display:inline;</span>.)</p>
<p>A block-display element will span the full width of the space 
available to it, and so will start on a new line in the flow of HTML. 
The flow will continue on a new line after the block-display element.</p>
<p>Here I’ve started a paragraph and now I’m going to insert a <span class="term">&lt;div&gt;</span></p>
<div style="border: 1px solid #999999; margin: 0pt; padding: 1em; background-color: #ffff99;">new div inside my paragraph</div>
<p>and then continue the text here…</p>
<p>See how the <span class="term">&lt;div&gt;</span> jumped in and took over the full width of the space?</p>
<p>Common HTML elements that are naturally block-display include:</p>
<dl class="comment indent"><dt><span class="term">&lt;div&gt;</span></dt><dd>Your general-purpose box</dd><dt><span class="term">&lt;h1&gt; … &lt;h6&gt;</span></dt><dd>All headings</dd><dt><span class="term">&lt;p&gt;</span></dt><dd>Paragraph</dd><dt><span class="term">&lt;ul&gt;, &lt;ol&gt;, &lt;dl&gt;</span></dt><dd>Lists (unordered, ordered and definition)</dd><dt><span class="term">&lt;li&gt;, &lt;dt&gt;, &lt;dd&gt;</span></dt><dd>List items, definition list terms, and definition list definitions</dd><dt><span class="term">&lt;table&gt;</span></dt><dd>Tables</dd><dt><span class="term">&lt;blockquote&gt;</span></dt><dd>Like an indented paragraph, meant for quoting passages of text</dd><dt><span class="term">&lt;pre&gt;</span></dt><dd>Indicates a block of preformatted code</dd><dt><span class="term">&lt;form&gt;</span></dt><dd>An input form</dd></dl>
<h3>Inline example</h3>
<p>Inline-display elements don’t break the flow. They just fit in with the flow of the document.</p>
<p>So here I’ve got a paragraph going on, and I’m going to add a &lt;span&gt; tag that <span style="background-color: #ffff66; font-style: italic;">has a yellow background and italic text</span>. See how it just fits right in with the flow of the text?</p>
<p>More elements are naturally inline-style, including:</p>
<dl class="comment indent"><dt><span class="term">&lt;span&gt;</span></dt><dd>Your all-purpose inline element</dd><dt><span class="term">&lt;a&gt;</span></dt><dd>Anchor, used for links (and also to mark specific targets on a page for direct linking)</dd><dt><span class="term">&lt;strong&gt;</span></dt><dd>Used to make your content strong, displayed as bold in most browsers, replaces the narrower <span class="term">&lt;b&gt;</span> (bold) tag</dd><dt><span class="term">&lt;em&gt;</span></dt><dd>Adds emphasis, but less strong than &lt;strong&gt;. Usually displayed as italic text, and replaces the old <span class="term">&lt;i&gt;</span> (italic) tag</dd><dt><span class="term">&lt;img /&gt;</span></dt><dd>Image</dd><dt><span class="term">&lt;br&gt;</span></dt><dd> The line-break is an odd case, as it’s an inline element that 
forces a new line. However, as the text carries on on the next line, 
it’s not a block-level element. </dd><dt><span class="term">&lt;input&gt;</span></dt><dd>Form input fields like
<input value="Text fields" type="text"> and
</dd><dt><span class="term">&lt;abbr&gt;</span></dt><dd>Indicates an <abbr title="Abbreviation">abbr.</abbr> (hover to see how it works)</dd><dt><span class="term">&lt;acronym&gt;</span></dt><dd>Working much like the abbreviation, but used for things like this <acronym title="Three-Letter Acronym">TLA</acronym>.</dd></dl>
<h2>You change the display property of any elements</h2>
<p>Although each HTML element has its natural display style, you can over-ride these in CSS.</p>
<p>This can be very useful when you want your page to look a particular way while using semantically-correct HTML.</p>
<h3>Examples</h3>
<p>Say you want to provide a list of items, but you don’t want a big 
bulleted list. You just want to say that you’re going to the store to 
buy:</p>
<ul class="special-inline"><li>some fizzy drinks,</li><li>a chainsaw,</li><li>and some nylon stockings.</li></ul>
<p>Or maybe you want a nice toolbar, which is stricly a list (of links) and so should be marked up as a <span class="term">&lt;ul&gt;</span>.</p>
<h4>Here’s the code</h4>
<div class="snippet code">

<div class="indent">&lt;ul&gt;
<div class="indent">&lt;li&gt;&lt;a href=”#”&gt;Home&lt;/a&gt;&lt;/li&gt;<br>
		&lt;li&gt;&lt;a href=”#”&gt;About us&lt;/a&gt;&lt;/li&gt;<br>
		&lt;li&gt;&lt;a href=”#”&gt;Products&lt;/a&gt;&lt;/li&gt;<br>
		&lt;li&gt;&lt;a href=”#”&gt;FAQs&lt;/a&gt;&lt;/li&gt;<br>
		&lt;li&gt;&lt;a href=”#”&gt;Contact us&lt;/a&gt;&lt;/li&gt;
		</div>
<p>	&lt;/ul&gt;</p></div>

</div>
<h4>Here’s how it looks as a normal list</h4>
<ul><li><a href="http://www.webdesignfromscratch.com/#">Home</a></li><li><a href="http://www.webdesignfromscratch.com/#">About us</a></li><li><a href="http://www.webdesignfromscratch.com/#">Products</a></li><li><a href="http://www.webdesignfromscratch.com/#">FAQs</a></li><li><a href="http://www.webdesignfromscratch.com/#">Contact us</a></li></ul>
<h4>Just adding the class “toolbar”…</h4>
<div class="snippet code">

<div class="indent">&lt;style type=”text/css”&gt;
<div class="indent">.toolbar li {
<div class="indent">display:inline;<br>
		background-color:#eee;<br>
		border:1px solid;<br>
		border-color:#f3f3f3 #bbb #bbb #f3f3f3;<br>
		margin:0;<br>
		padding:.5em;<br>
		zoom: 1;
		</div>
<p>}
	</p></div>
<p>&lt;/style&gt;
</p></div>
<p>&lt;ul class=”toolbar”&gt;</p>
<div class="indent">&lt;li&gt;&lt;a href=”#”&gt;Home&lt;/a&gt;&lt;/li&gt;<br>
&lt;li&gt;&lt;a href=”#”&gt;About us&lt;/a&gt;&lt;/li&gt;<br>
&lt;li&gt;&lt;a href=”#”&gt;Products&lt;/a&gt;&lt;/li&gt;<br>
&lt;li&gt;&lt;a href=”#”&gt;FAQs&lt;/a&gt;&lt;/li&gt;<br>
&lt;li&gt;&lt;a href=”#”&gt;Contact us&lt;/a&gt;&lt;/li&gt;</div>
<p>&lt;/ul&gt;</p>

</div>

<h4>Here’s how it looks with the CSS styles applied</h4>
<style type="text/css">
.sampletoolbar li {
display:inline;
background-color:#eee;
border:1px solid;
border-color:#f3f3f3 #bbb #bbb #f3f3f3;
margin:0;
padding:.5em;
zoom: 1;

}

</style> 
<p>&nbsp;</p><ul class="sampletoolbar"><li><a href="http://www.webdesignfromscratch.com/#">Home</a></li><li><a href="http://www.webdesignfromscratch.com/#">About us</a></li><li><a href="http://www.webdesignfromscratch.com/#">Products</a></li><li><a href="http://www.webdesignfromscratch.com/#">FAQs</a></li><li><a href="http://www.webdesignfromscratch.com/#">Contact us</a></li></ul><p></p>]]></description><link>http://www.primeobjects.com/Blog/DeveloperUpdates/e9ee6c42-163b-4fde-a622-edc56aaea065/Article/f14ef6a8-5dd8-4ba7-880c-9c47764bfb67/The-3-ways-that-HTML-elements-can-be-displayed/default.blog.html</link><guid isPermaLink="false">f14ef6a8-5dd8-4ba7-880c-9c47764bfb67</guid><pubDate>Mon, 12 Sep 2011 03:08:00 GMT</pubDate><comments></comments><author>Gary Zhang</author></item><item rank="0" id="53717973-e963-44d4-85db-3bba3db134ba" name="BlogItem"><title><![CDATA[Fix: The function that will get web page title by a url as the parameter.]]></title><description><![CDATA[The favorite link form and a few other forms allows users to get the title of the web page based on the URL input filled on the form. The backend function called by the javascript throught the web service API is GetHTMLTitle() in the PrimeObjects.Util.Helper.dll. We added the following script into the function to decode HTML of the tile content.<br><br>title = System.Web.HttpContext.Current.Server.HtmlDecode(title);<br><br><br> ]]></description><link>http://www.primeobjects.com/Blog/DeveloperUpdates/e9ee6c42-163b-4fde-a622-edc56aaea065/Article/53717973-e963-44d4-85db-3bba3db134ba/Fix-The-function-that-will-get-web-page-title-by-a-url-as-the-parameter/default.blog.html</link><guid isPermaLink="false">53717973-e963-44d4-85db-3bba3db134ba</guid><pubDate>Tue, 30 Aug 2011 16:49:29 GMT</pubDate><comments></comments><author>Gary Zhang</author></item><item rank="0" id="43d64a22-75e2-4d87-bad2-b3f1d503c046" name="BlogItem"><title><![CDATA[How to configure browser compatibility]]></title><description><![CDATA[The browser compatibility is configured via the following XML. <br>\\PrimeObjects.ApplicationSystem.Web\BrowserCompatibility.xml<br><br>Sample contents,<br>&lt;BrowserCompatibility&gt;<br>&nbsp; &lt;Browser Name="IE" Version="6" OldVersion="8"/&gt;<br>&nbsp; &lt;Browser Name="Firefox" Version="3" OldVersion="3"/&gt;<br>&nbsp; &lt;Browser Name="Chrome" Version="8" OldVersion="8"/&gt;<br>&nbsp; &lt;Browser Name="Safari" Version="5" OldVersion="5"/&gt;<br>&lt;/BrowserCompatibility&gt;<br> ]]></description><link>http://www.primeobjects.com/Blog/DeveloperUpdates/e9ee6c42-163b-4fde-a622-edc56aaea065/Article/43d64a22-75e2-4d87-bad2-b3f1d503c046/How-to-configure-browser-compatibility/default.blog.html</link><guid isPermaLink="false">43d64a22-75e2-4d87-bad2-b3f1d503c046</guid><pubDate>Mon, 27 Jun 2011 16:58:00 GMT</pubDate><comments></comments><author>Kan Ma</author></item><item rank="0" id="0370e8ee-0a30-478e-ae12-4f896ee6c08e" name="BlogItem"><title><![CDATA[Error when creating a linked server on SQL SERVER "Invalid authorization specification"]]></title><description><![CDATA[<p>In SSMS, Server Objects -&gt; Linked Servers, Right-click on SERVER2 and choose Properties.</p>

<p>In the properties window, click on "Security" in the left hand panel.</p>

<p>In the section labeled, "For a login not defined in the list above, 
connections will:", choose the last option "Be made using this security 
context:". Then specify a login and password for an account on Server2 
with appropriate permissions for the task you're trying to accomplish.</p>
]]></description><link>http://www.primeobjects.com/Blog/DeveloperUpdates/e9ee6c42-163b-4fde-a622-edc56aaea065/Article/0370e8ee-0a30-478e-ae12-4f896ee6c08e/Error-when-creating-a-linked-server-on-SQL-SERVER-Invalid-authorization-specification/default.blog.html</link><guid isPermaLink="false">0370e8ee-0a30-478e-ae12-4f896ee6c08e</guid><pubDate>Thu, 23 Jun 2011 22:08:11 GMT</pubDate><comments></comments><author>Gary Zhang</author></item><item rank="0" id="c390a976-8d0f-4e33-9954-998f71159db9" name="BlogItem"><title><![CDATA[SQL SERVER Named Instance, Dynamic Port & Firewall]]></title><description><![CDATA[<h4 class="subHeading">Dynamic Ports</h4><div class="subsection"><p>By
 default, named instances (including SQL Server Express) use dynamic 
ports. That means&nbsp;that every time that the&nbsp;Database Engine starts, it 
identifies an available port and uses that port number. If the named 
instance is the only instance of the Database Engine installed, it will 
probably use TCP port 1433. If other instances of the Database Engine 
are installed, it will probably use a different TCP port. Because the 
port selected might change every time that the&nbsp;Database Engine is 
started, it is difficult to configure the firewall to enable access to 
the correct port number. Therefore, if a firewall is used, we recommend 
reconfiguring the Database Engine to use the same port number every 
time. This is called a fixed port or a static port. For more 
information, see <span><a id="ctl00_MTCS_main_ctl77_ctl00_ctl05" href="http://technet.microsoft.com/en-us/library/ms345327.aspx">Configuring a Fixed Port</a></span>.</p><p>An
 alternative to configuring a named instance to listen on a fixed port 
is to create an exception in the firewall for a SQL Server program such 
as <strong>sqlservr.exe</strong> (for the Database Engine). This can be convenient, but the port number will not appear in the <strong>Local&nbsp;Port</strong> column of the <strong>Inbound Rules</strong>
 page when you are using the Windows Firewall with Advanced Security MMC
 snap-in. This can make it more difficult to audit which ports are 
open.&nbsp;Another consideration is that a service pack or cumulative update 
can change the path to the&nbsp;SQL Server&nbsp;executable which will invalidate 
the firewall rule.</p><div class="alert">The following procedure uses the <span class="label">Windows Firewall</span>
 item in Control Panel. The Windows Firewall with Advanced Security MMC 
snap-in can configure a more complex rule. This includes configuring a 
service exception which can be useful for providing defense in depth. 
See <a href="http://technet.microsoft.com/en-us/library/cc646023.aspx#BKMK_WF_msc">Using the Windows Firewall with Advanced Security Snap-in</a> below.</div><h3 class="procedureSubHeading">To add a program exception to the firewall using the Windows Firewall item in Control Panel.</h3><div class="subSection"><ol><li><p>On the <span class="label">Exceptions</span> tab of the <span class="label">Windows Firewall</span> item in Control Panel, click <span class="label">Add a program</span>.</p></li><li><p>Browse to the location of the instance of SQL Server that you want to allow through the firewall, for example <strong>C:\Program Files\Microsoft SQL Server\MSSQL10_50.&lt;instance_name&gt;\MSSQL\Binn</strong>, select <strong>sqlservr.exe</strong>, and then click <span class="label">Open</span>.</p></li><li><p>Click OK.</p></li></ol></div></div> ]]></description><link>http://www.primeobjects.com/Blog/DeveloperUpdates/e9ee6c42-163b-4fde-a622-edc56aaea065/Article/c390a976-8d0f-4e33-9954-998f71159db9/SQL-SERVER-Named-Instance-Dynamic-Port--Firewall/default.blog.html</link><guid isPermaLink="false">c390a976-8d0f-4e33-9954-998f71159db9</guid><pubDate>Thu, 23 Jun 2011 22:06:28 GMT</pubDate><comments></comments><author>Gary Zhang</author></item><item rank="0" id="5b5d706c-ad09-4d27-8767-793bbedf72f9" name="BlogItem"><title><![CDATA[Refresh include JS/CSS files]]></title><description><![CDATA[<!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:TrackMoves/>
  <w:TrackFormatting/>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:DoNotPromoteQF/>
  <w:LidThemeOther>EN-CA</w:LidThemeOther>
  <w:LidThemeAsian>ZH-CN</w:LidThemeAsian>
  <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
   <w:SplitPgBreakAndParaMark/>
   <w:EnableOpenTypeKerning/>
   <w:DontFlipMirrorIndents/>
   <w:OverrideTableStyleHps/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
  <m:mathPr>
   <m:mathFont m:val="Cambria Math"/>
   <m:brkBin m:val="before"/>
   <m:brkBinSub m:val="&#45;-"/>
   <m:smallFrac m:val="off"/>
   <m:dispDef/>
   <m:lMargin m:val="0"/>
   <m:rMargin m:val="0"/>
   <m:defJc m:val="centerGroup"/>
   <m:wrapIndent m:val="1440"/>
   <m:intLim m:val="subSup"/>
   <m:naryLim m:val="undOvr"/>
  </m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  LatentStyleCount="267">
  <w:LsdException Locked="false" Priority="0" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 1"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 2"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 3"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 4"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 5"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 6"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 7"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 8"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 9"/>
  <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
  <w:LsdException Locked="false" Priority="10" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Title"/>
  <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
  <w:LsdException Locked="false" Priority="11" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
  <w:LsdException Locked="false" Priority="22" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
  <w:LsdException Locked="false" Priority="20" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
  <w:LsdException Locked="false" Priority="59" SemiHidden="false"
   UnhideWhenUsed="false" Name="Table Grid"/>
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
  <w:LsdException Locked="false" Priority="1" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 1"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
  <w:LsdException Locked="false" Priority="34" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
  <w:LsdException Locked="false" Priority="29" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
  <w:LsdException Locked="false" Priority="30" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 1"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 2"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 2"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 3"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 3"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 4"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 4"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 5"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 5"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 6"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 6"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="19" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
  <w:LsdException Locked="false" Priority="21" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
  <w:LsdException Locked="false" Priority="31" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
  <w:LsdException Locked="false" Priority="32" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
  <w:LsdException Locked="false" Priority="33" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
  <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
  <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
 </w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-priority:99;
	mso-style-parent:"";
	mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
	mso-para-margin:0cm;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman","serif";}
</style>
<![endif]-->

<p class="MsoNormal"><a href="http://staging.rdhbe.com/default.aspx?flushincludefiles=true&amp;theme=Lightness">http://staging.rdhbe.com/default.aspx?flushincludefiles=true&amp;theme=Lightness</a></p>

<p class="MsoNormal"><a href="http://staging.rdhbe.com/default.aspx?flushincludefiles=true&amp;theme=Redmond">http://staging.rdhbe.com/default.aspx?flushincludefiles=true&amp;theme=Redmond</a></p>

]]></description><link>http://www.primeobjects.com/Blog/DeveloperUpdates/e9ee6c42-163b-4fde-a622-edc56aaea065/Article/5b5d706c-ad09-4d27-8767-793bbedf72f9/Refresh-include-JSCSS-files/default.blog.html</link><guid isPermaLink="false">5b5d706c-ad09-4d27-8767-793bbedf72f9</guid><pubDate>Wed, 22 Jun 2011 16:47:22 GMT</pubDate><comments></comments><author>Gary Zhang</author></item><item rank="0" id="710826a4-e020-44c5-854f-d8332b3414fc" name="BlogItem"><title><![CDATA[SQL Stored Procedure - Create a new lookup attribute]]></title><description><![CDATA[The following stored procedure will help to create a lookup attribute. A lookup attribute is a GUID type of attribute. It has a corresponding database table column that is defined as a uniqueidentifier type. A single lookup attribute means it only lookup one entity. For example, CompanyId attribute on the Contact entity is a single lookup attribute, it only lookup one entity called Company. A single lookup attribute will have a Foreign Key contraint defined by following the naming convention Idx_<i>EntityName</i>_FK_<i>AttributeName</i> (i.e. Idx_Contact_FK_CompanyId). <br><br>Sometimes we need multi-lookup attribute, a multi-lookup attribute allows lookup more than one entity. For example, CustomerId on SalesOrder entity is a multi-lookup attribute, because it may contain a Contact or a Company as the value. To create a multi-lookup attribute, you can run the stored procedure multiple times with different LookupEntityId (i.e. the first run for Contact and the 2nd run for Company).<br><br>Although lookup attribute has only one corresponding physical column in the table, it will has four more columns in the database view. <br><ol><li><i>AttributeName</i><b><font style="color:#000000;">Display</font></b><br>This will keep the display value of a lookup record. <br>In the Contact(CompanyId) sample, it will be CompanyIdDisplay. Because Name of the Company is the "Display Attribute" of the Company entity, company name will be shown in this field in the Contact view (v_Contact).<br><br></li><li><i>AttributeName</i><b>StateCode</b><br>This will keep the statecode value of a lookup record. <br>In the Contact(CompanyId) sample, it will be CompanyIdStateCode. <br><br></li><li><i>AttributeName</i><b>EntityId</b><br>This will keep the entityid of the lookup entity. For the single lookup attribute, the value in this field will be always same, but For the multi-lookup attribute, the value of this field can tell which entity the lookup attribute is looking for in a certain record.<br><br></li><li><i>AttributeName</i><b>EntityName</b><br>It works like <i>AttributeName</i><b>EntityId</b>.This will keep the entity name of 
the lookup entity. <br><br></li></ol>Note: We highly recommend that the name of the lookup attribute contains "Id" as the suffix (i.e. CompanyId, CustomerId, PhotoId.) this will help us easily recognize a lookup attribute.&nbsp; <br><br>DECLARE @EntityId uniqueidentifier<br>DECLARE @LookupEntityId uniqueidentifier<br>DECLARE @AttributeId uniqueidentifier<br><br>SELECT @EntityId = EntityId FROM Entity WHERE Name='Contact'<br>SELECT @LookupEntityId = EntityId FROM Entity WHERE Name='Company'<br><br>EXECUTE [p_PrimeObjects_CreateLookupAttribute] <br>&nbsp;&nbsp; @SolutionId = NULL<br>&nbsp; ,@SiteId = NULL<br>&nbsp; ,@SystemUserId = NULL<br>&nbsp; ,@AttributeName = 'CompanyId'<br>&nbsp; ,@AttributeDisplayName = 'Company'<br>&nbsp; ,@Description = 'Company'<br>&nbsp; ,@EntityId = @EntityId<br>&nbsp; ,@LookupEntityId = @LookupEntityId<br>&nbsp; ,@AllowNull = 1<br>&nbsp; ,@DefaultValue = NULL<br>&nbsp; ,@CreateNavigationTreeViewItem = 1<br>&nbsp; ,@IsSystem = 1<br>&nbsp; ,@RegenerateEntityView = 1<br>&nbsp; ,@AttributeId = @AttributeId OUTPUT<br> ]]></description><link>http://www.primeobjects.com/Blog/DeveloperUpdates/e9ee6c42-163b-4fde-a622-edc56aaea065/Article/710826a4-e020-44c5-854f-d8332b3414fc/SQL-Stored-Procedure---Create-a-new-lookup-attribute/default.blog.html</link><guid isPermaLink="false">710826a4-e020-44c5-854f-d8332b3414fc</guid><pubDate>Wed, 22 Jun 2011 16:47:22 GMT</pubDate><comments></comments><author>Gary Zhang</author></item><item rank="0" id="4b6b3715-649f-4a89-bdf7-5c1b90588a4a" name="BlogItem"><title><![CDATA[SQL Stored Procedure - Create a new normal attribute]]></title><description><![CDATA[The stored procedure p_PrimeObjects_CreateNormalAttribute is for creating a normal attribute.<br><br><table class="po-rpt-tbl" cellpadding="0" cellspacing="0" width="600"><tbody><tr><td>@AttributeName</td><td>The @AttributeName is the name of the attribute and also the name of the
 corresponding database column. The attribute name can only contain 
letter and number without space or other special chars.</td></tr><tr><td>@AttributeDisplayName</td><td> The @AttributeDisplayName is the name that will be shown on the user interface.</td></tr><tr><td valign="top">@EntityId<br></td><td valign="top">The @EntityId tells which entity the attribute belongs to.</td></tr><tr><td>@TypeCode</td><td>@TypeCode defines the type of the attribute. The following SQL Statement can be used to get a list of attribute types supported by the system. <br><br>SELECT Code,name,value DBType FROM PickList where AttributeUIId='8EE83AB5-ABA0-426A-962C-D02178738CC8' order by code</td></tr><tr><td>@AllowNull </td><td>@AllowNull will tell whether the attribute allow NULL/Empty/NoValue. <br></td></tr><tr><td>@DefaultValue </td><td>@DefaultValue will allow define the default value of the attribute. There will be a constraint created on the table for the default value defined here in the metadata. <br></td></tr><tr><td valign="top">@Formula<br>@IsVirtual<br> </td><td valign="top">These two parameters are used to define a virtual attribute.<br></td></tr><tr><td valign="top">@ReferencedAttributeId<br></td><td valign="top">Please leave this parameter to be NULL, we will need it when we create some special attributes.<br></td></tr><tr><td valign="top">@ValueProviderAttributeId<br></td><td valign="top">Please leave this parameter to be NULL, we will need it when we create some special attributes.</td></tr><tr><td valign="top">@IsSystem<br></td><td valign="top">If @IsSystem=1, the attribute can not be deleted in the future.<br></td></tr><tr><td>@RegenerateEntityView<br></td><td>Every entity will have a corresponding database table with the same name and a database view with a v_ as the prefix in the name. For example, "Contact" entity will have a database table named "Contact" and a database view named "v_Contact". When an attribute is created, the database table will be updated by adding a new column, the database view can be updated as well by having @RegenerateEntityView=1 or leave the update to be done later by haveing @RegenerateEntityView=0.<br></td></tr></tbody></table><br><br>DECLARE @RC int<br>DECLARE @AttributeId uniqueidentifier<br>DECLARE @EntityId&nbsp;&nbsp;&nbsp; uniqueidentifier<br>DECLARE @ReferencedAttributeId uniqueidentifier<br>DECLARE @ValueProviderAttributeId uniqueidentifier<br><br>SELECT @EntityId = EntityId FROM Entity WHERE [Name] = 'Dashboard'<br>SELECT @ReferencedAttributeId = NULL<br>SELECT @ValueProviderAttributeId = NULL<br><br><br>EXECUTE @RC = [p_PrimeObjects_CreateNormalAttribute] <br>&nbsp;&nbsp; @SolutionId = NULL<br>&nbsp; ,@SiteId = NULL<br>&nbsp; ,@SystemUserId = NULL<br>&nbsp; ,@AttributeName = 'Javascript'<br>&nbsp; ,@AttributeDisplayName = 'Javascript'<br>&nbsp; ,@Description = 'Javascript'<br>&nbsp; ,@EntityId = @EntityId<br>&nbsp; ,@TypeCode = 12<br>&nbsp; ,@AllowNull = 1<br>&nbsp; ,@DefaultValue = NULL<br>&nbsp; ,@IsVirtual = 0<br>&nbsp; ,@Formula = NULL<br>&nbsp; ,@ReferencedAttributeId = @ReferencedAttributeId<br>&nbsp; ,@ValueProviderAttributeId = @ValueProviderAttributeId<br>&nbsp; ,@IsSystem = 1<br>&nbsp; ,@RegenerateEntityView = 1<br>&nbsp; ,@AttributeId = @AttributeId OUTPUT<br> ]]></description><link>http://www.primeobjects.com/Blog/DeveloperUpdates/e9ee6c42-163b-4fde-a622-edc56aaea065/Article/4b6b3715-649f-4a89-bdf7-5c1b90588a4a/SQL-Stored-Procedure---Create-a-new-normal-attribute/default.blog.html</link><guid isPermaLink="false">4b6b3715-649f-4a89-bdf7-5c1b90588a4a</guid><pubDate>Tue, 21 Jun 2011 23:59:44 GMT</pubDate><comments></comments><author>Gary Zhang</author></item><item rank="0" id="eff25292-1327-447d-a961-d42a2d33de20" name="BlogItem"><title><![CDATA[Sync definitions of a report from the local database to a remote database]]></title><description><![CDATA[Usually we are working on a local database during delelopment of a report and then we want to deploy this report to a QA server or to a production server.<br>The stored procedure below is helping you to create a new report or sync a existing report on a remote database server by using the report defined in the local database on which you are running this stored procedure.<br><br>EXEC [p_PrimeObjects_SyncRemoteReport] <br>&nbsp;&nbsp;&nbsp; @SourceSolutionId&nbsp; = NULL,<br>&nbsp;&nbsp;&nbsp; @SourceSiteId = NULL,<br>&nbsp;&nbsp;&nbsp; @SourceSystemUserId&nbsp;&nbsp;&nbsp; = NULL,<br>&nbsp;&nbsp;&nbsp; @TargetSolutionId = NULL,<br>&nbsp;&nbsp;&nbsp; @TargetSiteId = NULL,<br>&nbsp;&nbsp;&nbsp; @TargetSystemUserId&nbsp;&nbsp;&nbsp; = NULL,<br>&nbsp;&nbsp;&nbsp; @ReportId&nbsp;&nbsp;&nbsp; =&nbsp;&nbsp;&nbsp; 'C581C284-A553-434D-9FCD-F86864175708',<br>&nbsp;&nbsp;&nbsp; @TargetDatabaseName&nbsp;&nbsp;&nbsp; = 'RemoteDBServer.RemoteDatabaseName'<br> ]]></description><link>http://www.primeobjects.com/Blog/DeveloperUpdates/e9ee6c42-163b-4fde-a622-edc56aaea065/Article/eff25292-1327-447d-a961-d42a2d33de20/Sync-definitions-of-a-report-from-the-local-database-to-a-remote-database/default.blog.html</link><guid isPermaLink="false">eff25292-1327-447d-a961-d42a2d33de20</guid><pubDate>Tue, 21 Jun 2011 20:50:38 GMT</pubDate><comments></comments><author>Gary Zhang</author></item><item rank="0" id="326e97eb-e46b-49cc-aea6-2d66e2239cad" name="BlogItem"><title><![CDATA[@SolutionId, @SiteId, @SystemUserId Parameters in Stored Procedure]]></title><description><![CDATA[@SolutionId, @SiteId, @SystemUserId are first three parameters in almost every stored procedure in the PrimeObjects platform. The three parameters provide context information to let the stored procedure know who is calling from where. Inside the stored procedure the following statement is called to process the values of the three parameters.<br><br>EXEC p_PrimeObjects_GetContext @SolutionId = @SolutionId OUT, @SiteId = @SiteId OUT, @SystemUserId= @SystemUserId OUT<br>&nbsp;&nbsp;&nbsp; <br><ul><li>If the @SystemUser is null, the system will try to use the sql login user to map to a valid platform user.<br><br>SELECT @SystemUserId = SystemUserId<br>FROM SystemUser WITH (NOLOCK)<br>WHERE DBLoginId = SUSER_SNAME() <br><br></li><li>If the @SiteId is null, the system will try to use the SiteId of the @SystemUser <br><br>SELECT @SiteId = SiteId <br>FROM SystemUser&nbsp; WITH (NOLOCK) <br>WHERE @SystemUserId = SystemUserId<br><br></li><li>If the @SolutionId is null, the system will try to use the SolutionId of the default solution<br><br>SELECT @SolutionId = SolutionId <br>FROM Solution&nbsp; WITH (NOLOCK) <br>WHERE IsDefault &lt;&gt; 0<br><br></li></ul><br><br> ]]></description><link>http://www.primeobjects.com/Blog/DeveloperUpdates/e9ee6c42-163b-4fde-a622-edc56aaea065/Article/326e97eb-e46b-49cc-aea6-2d66e2239cad/SolutionId-SiteId-SystemUserId-Parameters-in-Stored-Procedure/default.blog.html</link><guid isPermaLink="false">326e97eb-e46b-49cc-aea6-2d66e2239cad</guid><pubDate>Tue, 21 Jun 2011 19:35:45 GMT</pubDate><comments></comments><author>Gary Zhang</author></item></channel></rss>
