

{"id":2938,"date":"2015-11-29T17:10:54","date_gmt":"2015-11-29T16:10:54","guid":{"rendered":"http:\/\/www.hackingsap.com\/blog\/?p=2938"},"modified":"2015-11-29T17:10:54","modified_gmt":"2015-11-29T16:10:54","slug":"a-look-at-design-studio-1-6-integrated-css-editor","status":"publish","type":"post","link":"https:\/\/www.hackingsap.com\/blog\/a-look-at-design-studio-1-6-integrated-css-editor","title":{"rendered":"A look at Design Studio 1.6: Integrated CSS editor"},"content":{"rendered":"<p><strong>SAP BusinessObjects\u00a0Design Studio 1.6<\/strong> has just been released, so it is time to really check out the new features myself! I&#8217;ll start with one of the more hidden features in the previews\/roadmaps, but in my opinion a very imported productivity gainer: <strong>the integrated custom CSS-file editor<\/strong>.<\/p>\n<p>Using a custom CSS-file in Design Studio was pretty frustrating. You had to edit the file in a tool like Notepad++ and upload it to the BI Platform via the Application&#8217;s properties; a lot of repeating manual steps. Let&#8217;s have a look at how SAP improved this in this update.<\/p>\n<p>Design Studio 1.6 has a new button\u00a0<strong>Edit Custom CSS&#8230;<\/strong> in the menu bar.<\/p>\n<p><a href=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2939\" src=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss1.png\" alt=\"dscss1\" width=\"187\" height=\"69\" srcset=\"https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss1.png 187w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss1-150x55.png 150w\" sizes=\"auto, (max-width: 187px) 100vw, 187px\" \/><\/a><\/p>\n<p>After clicking this button a CSS-file can be selected from the BI Platform, or a new (empty) CSS-file can be created on the BI Platform.<\/p>\n<p><a href=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2940\" src=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss2.png\" alt=\"dscss2\" width=\"624\" height=\"325\" srcset=\"https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss2.png 624w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss2-150x78.png 150w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss2-300x156.png 300w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss2-50x25.png 50w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/a><\/p>\n<p>The CSS-file opens in a <strong>new tab<\/strong>. Just as with the\u00a0Design Studio apps, the asterisk (*) sign before the file name indicates that the file\u00a0has been changed and hasn\u2019t been saved yet. Here we can define the custom CSS classes. As you can see in the screenshots below, the editor supports syntax coloring\/formatting: comments are italic and blue, class names are green,\u00a0\u00a0properties are purple, property values are italic and blue etc.<\/p>\n<p>Also, just as in the Script Editor for JavaScript we can use the <strong>CTRL-SPACE<\/strong> shortcut to show proposals for CSS properties and values. This will increase development speed, as less errors will be made searching for the correct syntax and less checking of the <a href=\"http:\/\/www.w3schools.com\/cssref\" target=\"_blank\">W3Schools CSS reference<\/a> is necessary.<\/p>\n<p>In the examples below I activated the content assistance after typing\u00a0<strong>font\u00a0<\/strong>and\u00a0<strong>font-weight<\/strong>.<\/p>\n<p><a href=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2941\" src=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss3.png\" alt=\"dscss3\" width=\"468\" height=\"437\" srcset=\"https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss3.png 468w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss3-96x90.png 96w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss3-300x280.png 300w\" sizes=\"auto, (max-width: 468px) 100vw, 468px\" \/><\/a>\u00a0<!--more--><a href=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2942\" src=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss4.png\" alt=\"dscss4\" width=\"537\" height=\"444\" srcset=\"https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss4.png 537w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss4-109x90.png 109w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss4-300x248.png 300w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/a><\/p>\n<p>The <strong>Properties Panel<\/strong> is also available for the custom CSS-file. You can click on a class name in the CSS-file and all available properties are shown and values are entered. So instead of typing the properties yourself in the CSS-file, you can also just fill in the Properties Panel for a CSS class. In the example below I selected class\u00a0<strong>label1<\/strong>.<\/p>\n<p><a href=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2944\" src=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss6.png\" alt=\"dscss6\" width=\"721\" height=\"524\" srcset=\"https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss6.png 721w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss6-124x90.png 124w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss6-300x218.png 300w\" sizes=\"auto, (max-width: 721px) 100vw, 721px\" \/><\/a><\/p>\n<p>In case of <strong>syntax errors<\/strong> a red box is shown in front of the line of code with the error in it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2946\" src=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss8.png\" alt=\"dscss8\" width=\"270\" height=\"106\" srcset=\"https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss8.png 270w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss8-150x59.png 150w\" sizes=\"auto, (max-width: 270px) 100vw, 270px\" \/><\/p>\n<p>Unfortunately in the Properties Panel of a\u00a0Design Studio component you still have to enter the CSS classes yourself. There is no option to select them from a list\/dropdown menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2943\" src=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss5.png\" alt=\"dscss5\" width=\"289\" height=\"250\" srcset=\"https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss5.png 289w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss5-104x90.png 104w\" sizes=\"auto, (max-width: 289px) 100vw, 289px\" \/><\/p>\n<p>After making a change to the CSS-file and saving it\u00a0the\u00a0Design Studio app updates immediately and uses the new version of the CSS classes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2945\" src=\"http:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss7.png\" alt=\"dscss7\" width=\"402\" height=\"103\" srcset=\"https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss7.png 402w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss7-150x38.png 150w, https:\/\/www.hackingsap.com\/blog\/wp-content\/uploads\/dscss7-300x77.png 300w\" sizes=\"auto, (max-width: 402px) 100vw, 402px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SAP BusinessObjects\u00a0Design Studio 1.6 has just been released, so it is time to really check out the new features myself! I&#8217;ll start with one of the more hidden features in the previews\/roadmaps, but in my opinion a very imported productivity gainer: the integrated custom CSS-file editor. Using a custom CSS-file in Design Studio was pretty [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[163],"tags":[176],"class_list":["post-2938","post","type-post","status-publish","format-standard","hentry","category-sap-businessobjects-design-studio","tag-css"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKaa2-Lo","jetpack-related-posts":[{"id":2971,"url":"https:\/\/www.hackingsap.com\/blog\/sap-businessobjects-design-studio-the-comprehensive-guide-2nd-edition-coming-early-2016","url_meta":{"origin":2938,"position":0},"title":"SAP BusinessObjects Design Studio: The Comprehensive Guide (2nd edition) coming early 2016","author":"Xavier Hacking","date":"December 29, 2015","format":false,"excerpt":"SAP\u00a0Design Studio has changed and improved a lot over the past three years; arriving at version 1.6 last month. It was clear that our\u00a02013 book Getting Started with\u00a0SAP BusinessObjects\u00a0Design Studio needed a big update, as it included only the features up until Design Studio version 1.1. So the wait is\u2026","rel":"","context":"In &quot;Books&quot;","block_context":{"text":"Books","link":"https:\/\/www.hackingsap.com\/blog\/category\/books"},"img":{"alt_text":"design_studio_boek2_2","src":"https:\/\/i0.wp.com\/www.hackingsap.com\/blog\/wp-content\/uploads\/design_studio_boek2_2-221x300.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2905,"url":"https:\/\/www.hackingsap.com\/blog\/sap-businessobjects-design-studio-1-6-preview","url_meta":{"origin":2938,"position":1},"title":"SAP BusinessObjects Design Studio 1.6 Preview","author":"Xavier Hacking","date":"October 29, 2015","format":false,"excerpt":"SAP BusinessObjects\u00a0Design Studio 1.6 is coming up later this quarter so it is time to do a little previewing! You can find the full roadmap for\u00a0Design Studio here. Below I'll discuss the highlights of all the new features that we can expect. New Scorecard component Design Studio 1.6 brings a\u2026","rel":"","context":"In &quot;SAP BusinessObjects Design Studio&quot;","block_context":{"text":"SAP BusinessObjects Design Studio","link":"https:\/\/www.hackingsap.com\/blog\/category\/sap-businessobjects-design-studio"},"img":{"alt_text":"ds16_1","src":"https:\/\/i0.wp.com\/www.hackingsap.com\/blog\/wp-content\/uploads\/ds16_1-1024x618.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.hackingsap.com\/blog\/wp-content\/uploads\/ds16_1-1024x618.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.hackingsap.com\/blog\/wp-content\/uploads\/ds16_1-1024x618.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.hackingsap.com\/blog\/wp-content\/uploads\/ds16_1-1024x618.png?resize=700%2C400 2x"},"classes":[]},{"id":2537,"url":"https:\/\/www.hackingsap.com\/blog\/diy-css-navigation-buttons-in-sap-design-studio","url_meta":{"origin":2938,"position":2},"title":"DIY CSS navigation buttons in SAP Design Studio","author":"Xavier Hacking","date":"March 30, 2014","format":false,"excerpt":"In SAP BusinessObjects Design Studio you can use the container components like a Tabstrip or a Pagebook to organize your application. The Tabstrip component already includes the tabs for navigation between the pages. For the Pagebook component we have to create our own navigation buttons. You can use the standard\u2026","rel":"","context":"In &quot;DIY&quot;","block_context":{"text":"DIY","link":"https:\/\/www.hackingsap.com\/blog\/category\/diy"},"img":{"alt_text":"cssnav2","src":"https:\/\/i0.wp.com\/www.hackingsap.com\/blog\/wp-content\/uploads\/cssnav2.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2588,"url":"https:\/\/www.hackingsap.com\/blog\/new-sapexperts-article-how-to-use-css-in-design-studio","url_meta":{"origin":2938,"position":3},"title":"New SAPexperts article: How to Use CSS in Design Studio","author":"Xavier Hacking","date":"May 1, 2014","format":false,"excerpt":"I wrote another article for the SAPexperts online knowledge base. In line with some of my recent posts here on my blog this one is all about CSS, but now more from a basic, 101 course standpoint. In this article I give a basic introduction to the language of CSS\u2026","rel":"","context":"In &quot;Knowledge sharing&quot;","block_context":{"text":"Knowledge sharing","link":"https:\/\/www.hackingsap.com\/blog\/category\/knowledge-sharing"},"img":{"alt_text":"sapexperts_bihub","src":"https:\/\/i0.wp.com\/www.hackingsap.com\/blog\/wp-content\/uploads\/sapexperts_bihub.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2572,"url":"https:\/\/www.hackingsap.com\/blog\/sap-design-studio-custom-scrollbars-css","url_meta":{"origin":2938,"position":4},"title":"Custom Scrollbars in SAP Design Studio","author":"Xavier Hacking","date":"April 26, 2014","format":false,"excerpt":"As we have seen in an earlier post we can enhance the looks of our SAP BusinessObjects Design Studio applications with the use of some CSS coding. In this post I will show you how to add scrollbars to Design Studio components and how to change the looks of them.\u2026","rel":"","context":"In &quot;DIY&quot;","block_context":{"text":"DIY","link":"https:\/\/www.hackingsap.com\/blog\/category\/diy"},"img":{"alt_text":"scollbar1","src":"https:\/\/i0.wp.com\/www.hackingsap.com\/blog\/wp-content\/uploads\/scollbar1.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2314,"url":"https:\/\/www.hackingsap.com\/blog\/getting-started-with-design-studio-book-now-available-coupon-code-in-post","url_meta":{"origin":2938,"position":5},"title":"Getting Started with Design Studio book now available (coupon code in post!)","author":"Xavier Hacking","date":"November 14, 2013","format":false,"excerpt":"Getting Started with\u00a0SAP BusinessObjects\u00a0Design Studio is available for order right now! If you haven't picked it up at the SAP Press book stand at SAP TechEd Las Vegas or Amsterdam you can get your copy now at SAP-Press.com. Make sure you use coupon code\u00a0QR7N5G when finishing your order, which will\u2026","rel":"","context":"In &quot;Books&quot;","block_context":{"text":"Books","link":"https:\/\/www.hackingsap.com\/blog\/category\/books"},"img":{"alt_text":"DesignStudioCover","src":"https:\/\/i0.wp.com\/www.hackingsap.com\/blog\/wp-content\/uploads\/DesignStudioCover-288x300.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hackingsap.com\/blog\/wp-json\/wp\/v2\/posts\/2938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hackingsap.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hackingsap.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hackingsap.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hackingsap.com\/blog\/wp-json\/wp\/v2\/comments?post=2938"}],"version-history":[{"count":3,"href":"https:\/\/www.hackingsap.com\/blog\/wp-json\/wp\/v2\/posts\/2938\/revisions"}],"predecessor-version":[{"id":2949,"href":"https:\/\/www.hackingsap.com\/blog\/wp-json\/wp\/v2\/posts\/2938\/revisions\/2949"}],"wp:attachment":[{"href":"https:\/\/www.hackingsap.com\/blog\/wp-json\/wp\/v2\/media?parent=2938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hackingsap.com\/blog\/wp-json\/wp\/v2\/categories?post=2938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hackingsap.com\/blog\/wp-json\/wp\/v2\/tags?post=2938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}