<?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>CM-Focus LLC - A Salesforce Training, Consulting and Product Development Company &#187; Apex Development</title>
	<atom:link href="http://cm-focus.com/blog/category/apex-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://cm-focus.com/blog</link>
	<description>The Salesforce Training specialists &#38; consultants</description>
	<lastBuildDate>Tue, 19 Apr 2016 07:53:58 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.7.18</generator>
	<item>
		<title>Create pricebook for product.</title>
		<link>http://cm-focus.com/blog/create-pricebook-for-product/</link>
		<comments>http://cm-focus.com/blog/create-pricebook-for-product/#comments</comments>
		<pubDate>Fri, 13 Sep 2013 07:02:19 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Apex Development]]></category>
		<category><![CDATA[Salesforce Administration]]></category>
		<category><![CDATA[Salesforce Training]]></category>

		<guid isPermaLink="false">http://cm-focus.com/blog/?p=98</guid>
		<description><![CDATA[<p>How to add a pricebook for a product? First we need to create a Pricebook. Go to product in tab &#62; click on Manage Price Books (under Maintenance) Click on new and create a Price book and save. Name &#8211; Pricebook Name Active &#8211; TRUE Now open jitterbit data loader If you don&#8217;t have download [&#8230;]</p><p>The post <a href="http://cm-focus.com/blog/create-pricebook-for-product/">Create pricebook for product.</a> appeared first on <a href="http://cm-focus.com/blog">CM-Focus LLC - A Salesforce Training, Consulting and Product Development Company</a>.</p>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fcm-focus.com%2Fblog%2Fcreate-pricebook-for-product%2F' data-shr_title='Create+pricebook+for+product.'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fcm-focus.com%2Fblog%2Fcreate-pricebook-for-product%2F' data-shr_title='Create+pricebook+for+product.'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fcm-focus.com%2Fblog%2Fcreate-pricebook-for-product%2F' data-shr_title='Create+pricebook+for+product.'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>How to add a pricebook for a product?</p>
<p>First we need to create a Pricebook.</p>
<p>Go to product in tab &gt; click on Manage Price Books (under Maintenance)</p>
<p><a href="http://cm-focus.com/blog/create-pricebook-for-product/manageprice/" rel="attachment wp-att-99"><img class="alignnone size-full wp-image-99" alt="manageprice" src="http://cm-focus.com/blog/wp-content/uploads/2013/02/manageprice.png" width="205" height="117" /></a></p>
<p>Click on new and create a Price book and save.</p>
<p>Name &#8211; Pricebook Name</p>
<p>Active &#8211; TRUE</p>
<p>Now open jitterbit data loader</p>
<p>If you don&#8217;t have download it from &#8211; <a href="http://www.jitterbit.com/salesforce/data-loader">http://www.jitterbit.com/salesforce/data-loader</a></p>
<p>Click on Insert on Jitter Bit and Enter all the required details (User Name, Password, Security Token)</p>
<p>and click on Test salesforce login</p>
<p><a href="http://cm-focus.com/blog/create-pricebook-for-product/loginnew/" rel="attachment wp-att-129"><img class="alignnone size-full wp-image-129" alt="loginNew" src="http://cm-focus.com/blog/wp-content/uploads/2013/02/loginNew.png" width="567" height="380" /></a></p>
<p>click on next &gt; select object product &gt;</p>
<p><a href="http://cm-focus.com/blog/create-pricebook-for-product/product/" rel="attachment wp-att-103"><img class="alignnone size-full wp-image-103" alt="product" src="http://cm-focus.com/blog/wp-content/uploads/2013/02/product.png" width="711" height="130" /></a></p>
<p>&nbsp;</p>
<p>now select the excel sheet from where you are going to insert the product to salesforce&gt;</p>
<p>click next &gt;</p>
<p><a href="http://cm-focus.com/blog/create-pricebook-for-product/brow/" rel="attachment wp-att-104"><img class="alignnone size-full wp-image-104" alt="brow" src="http://cm-focus.com/blog/wp-content/uploads/2013/02/brow.png" width="588" height="82" /></a></p>
<p>In the next page Select CSV file in &#8220;Select file type&#8221; click next &gt; Map with correct fields and click finish</p>
<p><a href="http://cm-focus.com/blog/create-pricebook-for-product/map/" rel="attachment wp-att-106"><img class="alignnone size-full wp-image-106" alt="map" src="http://cm-focus.com/blog/wp-content/uploads/2013/02/map.png" width="794" height="512" /></a></p>
<p>Now click on &#8211; Run Insert</p>
<p><a href="http://cm-focus.com/blog/create-pricebook-for-product/runinsert-2/" rel="attachment wp-att-130"><img class="alignnone size-full wp-image-130" alt="runInsert" src="http://cm-focus.com/blog/wp-content/uploads/2013/02/runInsert1.png" width="598" height="298" /></a></p>
<p>Save the generated success result to another excel sheet product_success_InsertReport</p>
<p>click on query button in jitter bit &gt; select the object Price book &gt;</p>
<p>click next and select fields id and name</p>
<p><a href="http://cm-focus.com/blog/create-pricebook-for-product/query/" rel="attachment wp-att-108"><img class="alignnone size-full wp-image-108" alt="query" src="http://cm-focus.com/blog/wp-content/uploads/2013/02/query.png" width="546" height="345" /></a></p>
<p>Bowers the path to where we need to save result.</p>
<p>Now Now click on - Run Query</p>
<p><a href="http://cm-focus.com/blog/create-pricebook-for-product/runqu/" rel="attachment wp-att-131"><img class="alignnone size-full wp-image-131" alt="runQu" src="http://cm-focus.com/blog/wp-content/uploads/2013/02/runQu.png" width="598" height="298" /></a></p>
<p>Save the generated success result an another excel sheet Pricebook_QueryReport</p>
<p>&nbsp;</p>
<p>Creating price book with standard ID.</p>
<p>Now create a new excel sheet PriceBook_standardID with column name with &#8211; &gt;</p>
<p>Product ID , PriceBookID , cost, Use_Standard_price, Is_Active</p>
<p><a href="http://cm-focus.com/blog/create-pricebook-for-product/std_prd-2/" rel="attachment wp-att-111"><img class="alignnone size-full wp-image-111" alt="std_Prd" src="http://cm-focus.com/blog/wp-content/uploads/2013/02/std_Prd1.png" width="518" height="68" /></a></p>
<p>Product ID &#8211; copy all the product id from product_success_InsertReport and past it here</p>
<p>PriceBook ID &#8211; copy the standard pricebook id from Pricebook_QueryReport and past it here</p>
<p>cost &#8211; enter the cost</p>
<p>Use_Standard_price &#8211; should be FALSE</p>
<p>Is_Active &#8211; should be TRUE</p>
<p>&nbsp;</p>
<p>Jitter Bit</p>
<p>open jitterbit select Insert &gt;</p>
<p>select object Price Book Entry &gt;</p>
<p>browse file PriceBook_standardID &gt;</p>
<p>Select CSV file in Select file type click next &gt;</p>
<p>Map with correct fields</p>
<p>Now Now click on - Run Insert</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Creating price book with Cusrom ID.</p>
<p>Create a new excel sheet PriceBook_customId which is same as the PriceBook_standardID file</p>
<p>field names &#8211; &gt; Product ID , PriceBookID , cost, Use_Standard_price, Is_Active</p>
<p>Product ID &#8211; copy all the product id from product_success_InsertReport and past it here</p>
<p>PriceBook ID &#8211; copy the custom pricebook id (The id of the pricebook which is created by you) from Pricebook_QueryReport and past it.</p>
<p>cost &#8211; enter the cost</p>
<p>Use_Standard_price &#8211; should be FALSE</p>
<p>Is_Active &#8211; should be TRUE</p>
<p><a href="http://cm-focus.com/blog/create-pricebook-for-product/std_prd-2/" rel="attachment wp-att-111"><img class="alignnone size-full wp-image-111" alt="std_Prd" src="http://cm-focus.com/blog/wp-content/uploads/2013/02/std_Prd1.png" width="518" height="68" /></a></p>
<p>jitter Bit</p>
<p>open jitterbit select Insert &gt;</p>
<p>select object Price Book Entry &gt;</p>
<p>browse file PriceBook_customID &gt;</p>
<p>Select CSV file in Select file type click next &gt;</p>
<p>Map with correct fields</p>
<p>Now Now click on &#8211; Run Insert</p>
<p>&nbsp;</p>
<p><strong>Pricebook for already existing product. </strong></p>
<p>If you want to create price book for already existing products then you need to query the product using jitter bit. Then following these steps</p>
<p>Step 1: Query all the pricebook record from pricebook object using jitter bit. And save it as pricebookQueryResult.</p>
<p>Step 2: Query all the pricebook Entry record with pricebook = custom pricebook Name (You can get your custom price book id from pricebookQueryResult excel sheet.  And save it as pricebookEnrtyQueryResult_custID.</p>
<p>Query:<br />
SELECT Id, IsActive, Name, Pricebook2Id, Product2Id, ProductCode, UnitPrice, UseStandardPrice ,product2.Family FROM PricebookEntry  where Pricebook2.Name = &#8216;WesBeam&#8217;</p>
<p>Step 3: Now open your main excel sheet from where you are going to copy the new price. Search for product 1 by 1 in the pricebookEnrtyQueryResult_custID excel sheet. And update the unit price for it.</p>
<p>Step 4: Now try to update the pricebook using jitter bit.</p>
<p>Note : Do not Map the fields which you do not want to update e.g. IsActive, Name, PricebookID etc. Just map Id and UnitPrice field in jitter bit and update it.</p>
<p>To update the standard pricebook you need to follow the same step 2, 3 and 4. Only thing you need to change is &#8211; “pricebook = Standard Pricebook Name” then the query will be like this</p>
<p>Query:<br />
SELECT Id, IsActive, Name, Pricebook2Id, Product2Id, ProductCode, UnitPrice, UseStandardPrice ,product2.Family FROM PricebookEntry  where Pricebook2.Name = Standard Price Book&#8217;</p>
<p>&nbsp;</p>
<div class="shr-publisher-98"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>The post <a href="http://cm-focus.com/blog/create-pricebook-for-product/">Create pricebook for product.</a> appeared first on <a href="http://cm-focus.com/blog">CM-Focus LLC - A Salesforce Training, Consulting and Product Development Company</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://cm-focus.com/blog/create-pricebook-for-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do we remove the header and sidebars from a iframe</title>
		<link>http://cm-focus.com/blog/how-do-we-remove-the-header-and-sidebars-from-a-iframe/</link>
		<comments>http://cm-focus.com/blog/how-do-we-remove-the-header-and-sidebars-from-a-iframe/#comments</comments>
		<pubDate>Sat, 13 Jul 2013 08:50:56 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Apex Development]]></category>

		<guid isPermaLink="false">http://cm-focus.com/blog/?p=144</guid>
		<description><![CDATA[<p>While working on a requirement where we wanted to display calendar of the assigned user, we thought of getting the calendar displayed within an IFRAME. We were able to display the calendar within the iframe, but the iframe displayed the page with the headers and sidebars which looked very bad and took up a lot [&#8230;]</p><p>The post <a href="http://cm-focus.com/blog/how-do-we-remove-the-header-and-sidebars-from-a-iframe/">How do we remove the header and sidebars from a iframe</a> appeared first on <a href="http://cm-focus.com/blog">CM-Focus LLC - A Salesforce Training, Consulting and Product Development Company</a>.</p>]]></description>
				<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fcm-focus.com%2Fblog%2Fhow-do-we-remove-the-header-and-sidebars-from-a-iframe%2F' data-shr_title='How+do+we+remove+the+header+and+sidebars+from+a+iframe'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fcm-focus.com%2Fblog%2Fhow-do-we-remove-the-header-and-sidebars-from-a-iframe%2F' data-shr_title='How+do+we+remove+the+header+and+sidebars+from+a+iframe'></a><a class='shareaholic-tweetbutton' data-shr_count='horizontal' data-shr_href='http%3A%2F%2Fcm-focus.com%2Fblog%2Fhow-do-we-remove-the-header-and-sidebars-from-a-iframe%2F' data-shr_title='How+do+we+remove+the+header+and+sidebars+from+a+iframe'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>While working on a requirement where we wanted to display calendar of the assigned user, we thought of getting the calendar displayed within an IFRAME.</p>
<p>We were able to display the calendar within the iframe, but the iframe displayed the page with the headers and sidebars which looked very bad and took up a lot of screen space. After a lot of searches and head banging came up with a very simple solution.</p>
<p>All you need to do is to add ?isdtp=mn to your url.</p>
<p>Note: This is not a supported by salesforce so you need to use it at your own risk. There are a few other options for this parameter and <a href="https://twitter.com/ca_peterson" data-user-id="29273957"> ‏<s>@</s><b>ca_peterson</b></a> has explained this in his blog http://www.ca-peterson.com/2011/11/magic-isdtp-param.html</p>
<p>&nbsp;</p>
<div class="shr-publisher-144"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>The post <a href="http://cm-focus.com/blog/how-do-we-remove-the-header-and-sidebars-from-a-iframe/">How do we remove the header and sidebars from a iframe</a> appeared first on <a href="http://cm-focus.com/blog">CM-Focus LLC - A Salesforce Training, Consulting and Product Development Company</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://cm-focus.com/blog/how-do-we-remove-the-header-and-sidebars-from-a-iframe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

 Served from: cm-focus.com @ 2026-07-25 01:53:19 by W3 Total Cache -->