{"id":145,"date":"2009-06-03T12:56:00","date_gmt":"2009-06-03T12:56:00","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=145"},"modified":"2025-01-28T11:28:52","modified_gmt":"2025-01-28T11:28:52","slug":"using-aspx-pages-in-sage-crm-from-within-asp-pages","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/","title":{"rendered":"Using ASPX pages in sage CRM from within ASP pages???"},"content":{"rendered":"<p>As we all know that <strong>ASP<\/strong> is one of the very strong and powerful tools for making <strong>dynamic<\/strong> and <strong>interactive<\/strong> WebPages, CRM utilizes it in building its various inbuilt functionalities as well as we can do the <strong>Custom development<\/strong> in <strong>CRM<\/strong> using <strong>ASP<\/strong> as per the standards provided by <strong>Sage CRM<\/strong>.<br \/>\nFrom past few years <strong>DOT Net based languages<\/strong> are becoming very popular making the life of software programmer quite easy, as all the <strong>functions<\/strong> and <strong>methods<\/strong> are now available at the single click. So to make up with this new <strong>DOT Net era<\/strong>, <strong>Sage CRM<\/strong> has also come up with the new functionalities where we can make use of the <strong>DOT NET based languages<\/strong> to build our applications? We can create our own <strong>custom dot net dll\u2019s<\/strong> and make them run on the <strong>button click<\/strong> from any <strong>sage CRM standard screen<\/strong> or <strong>pages<\/strong>. Also, using this we can build the page structure quite easily than that of the <strong>ASP pages<\/strong>.<\/p>\n<p>Some time ago, we came across the requirement where the page design was quite complicated to be developed and maintained using the <strong>ASP pages<\/strong>. Then we all <strong>Greytrixians<\/strong> started tickling our minds how we can overcome this problem with some <strong>out of box concept<\/strong>?? The Only option that came in our mind was to make use of the <strong>ASPX<\/strong> pages and that too from within the <strong>ASP pages<\/strong> so that we can pass the parameters to and from the <strong>CRM<\/strong> properly.<\/p>\n<p>Then our next step was to try the several options for using <strong>ASPX<\/strong> from within <strong>ASP<\/strong>. We tried redirecting from asp page to <strong>ASPX<\/strong> page, loading <strong>ASPX<\/strong> page on <strong>onload<\/strong> function, but nothing seems to work our way. Now, the only option that we could try was either <strong>using an IFRAME<\/strong> or <strong>POPUP<\/strong> a new window to see the <strong>ASPX<\/strong> page. We opted for the first option that is <strong>using an IFRAME<\/strong> as we can include it within the standard <strong>ASP<\/strong> page and also we can design the page graphics that matches with that of the parent <strong>ASP<\/strong> page so that it looks like the part of an <strong>ASP<\/strong> page. But, this is not the straight forward process and we need to follow some steps as mentioned below to do the same.<\/p>\n<p>1. Develop your <strong>ASP.NET<\/strong> application completely.<\/p>\n<p>2. <strong>Deploy<\/strong> the application created above in the <strong>IIS<\/strong>.<\/p>\n<p>3. You can <strong>deploy<\/strong> your application at some other location also, but in this case you need to <strong>create New Virtual Directory<\/strong> under IIS pointing to this application and add the default pages under the documents tab such as Default.aspx.<\/p>\n<p>4. Now, to see this <strong>ASPX<\/strong> page in <strong>ASP<\/strong> page you can create an <strong>URL<\/strong> like below and make your <strong>IFRAME<\/strong> to redirect to the same which resides inside that <strong>ASP <\/strong>page. The very important thing is here you will also need to keep track of the <strong>SID<\/strong> and pass it in the <strong>URL<\/strong> as shown below.<\/p>\n<p><em>docurl=new String(document.URL);<br \/>\narr= docurl.split(&#8216;?&#8217;);<br \/>\nsid=arr[1];<br \/>\nsidArr = sid.split(&#8216;&amp;&#8217;)<br \/>\nsid = sidArr[0];<br \/>\nASPXURL = &#8216;http:\/\/&lt;<strong>Server Name<\/strong>&gt;\/TestDemoWebsite\/Default.aspx?&#8217;+sid+&#8217;&amp;&lt;<strong>Pass the parameters here<\/strong>&gt;<\/em><\/p>\n<p><strong>Note<\/strong>: Also you can transfer the entire CRM URL to the ASPX page for your reference.<\/p>\n<p><b>If you find this useful, Please drop us a mail on <a href=\"mailto:crm@greytrix.com\">crm@greytrix.com<\/a>. <\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As we all know that ASP is one of the very strong and powerful tools for making dynamic and interactive WebPages, CRM utilizes it in building its various inbuilt functionalities as well as we can do the Custom development in CRM using ASP as per the standards provided by Sage CRM. From past few years\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[577,1008],"class_list":["post-145","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-aspx","tag-dotnetdll"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Using ASPX pages in sage CRM from within ASP pages???<\/title>\n<meta name=\"description\" content=\"Integrate ASPX pages seamlessly into ASP pages within Sage CRM. Follow our comprehensive guide for smooth functionality. Learn more on Greytrix!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using ASPX pages in sage CRM from within ASP pages???\" \/>\n<meta property=\"og:description\" content=\"Integrate ASPX pages seamlessly into ASP pages within Sage CRM. Follow our comprehensive guide for smooth functionality. Learn more on Greytrix!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2009-06-03T12:56:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-28T11:28:52+00:00\" \/>\n<meta name=\"author\" content=\"greysagecrm\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"greysagecrm\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/\",\"name\":\"Using ASPX pages in sage CRM from within ASP pages???\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"datePublished\":\"2009-06-03T12:56:00+00:00\",\"dateModified\":\"2025-01-28T11:28:52+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"description\":\"Integrate ASPX pages seamlessly into ASP pages within Sage CRM. Follow our comprehensive guide for smooth functionality. Learn more on Greytrix!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using ASPX pages in sage CRM from within ASP pages???\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\",\"name\":\"Sage CRM \u2013 Tips, Tricks and Components\",\"description\":\"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\",\"name\":\"greysagecrm\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"caption\":\"greysagecrm\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using ASPX pages in sage CRM from within ASP pages???","description":"Integrate ASPX pages seamlessly into ASP pages within Sage CRM. Follow our comprehensive guide for smooth functionality. Learn more on Greytrix!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/","og_locale":"en_US","og_type":"article","og_title":"Using ASPX pages in sage CRM from within ASP pages???","og_description":"Integrate ASPX pages seamlessly into ASP pages within Sage CRM. Follow our comprehensive guide for smooth functionality. Learn more on Greytrix!","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2009-06-03T12:56:00+00:00","article_modified_time":"2025-01-28T11:28:52+00:00","author":"greysagecrm","twitter_card":"summary_large_image","twitter_misc":{"Written by":"greysagecrm","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/","name":"Using ASPX pages in sage CRM from within ASP pages???","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"datePublished":"2009-06-03T12:56:00+00:00","dateModified":"2025-01-28T11:28:52+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"description":"Integrate ASPX pages seamlessly into ASP pages within Sage CRM. Follow our comprehensive guide for smooth functionality. Learn more on Greytrix!","breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2009\/06\/03\/using-aspx-pages-in-sage-crm-from-within-asp-pages\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"Using ASPX pages in sage CRM from within ASP pages???"}]},{"@type":"WebSite","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/","name":"Sage CRM \u2013 Tips, Tricks and Components","description":"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f","name":"greysagecrm","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","caption":"greysagecrm"},"url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":2,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"predecessor-version":[{"id":29173,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/145\/revisions\/29173"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}