{"id":2396,"date":"2021-12-20T11:12:31","date_gmt":"2021-12-20T02:12:31","guid":{"rendered":"https:\/\/kintools.com\/?post_type=docs&#038;p=2396"},"modified":"2021-12-20T11:12:32","modified_gmt":"2021-12-20T02:12:32","password":"","slug":"creating-bookmarks-using-expression","status":"publish","type":"docs","link":"https:\/\/kintools.com\/en\/docs\/creating-bookmarks-using-expression\/","title":{"rendered":"Creating bookmarks using expressions"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Expressions allow you to form fairly complex structures of bookmarks in your reports. Even a flat report (with no dependent entries) can be represented as a hierarchy of bookmarks. A general view of the expressions that can be reported as a hierarchy of bookmarks is:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">%\\name1\\name2\u2026\\nameN<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">where name1 is the name of the highest level bookmark.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0 \u00a0\u00a0nameN is the name of the lowest level bookmark.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following diagram shows the hierarchy of common types of expressions<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/www.stimulsoft.com\/en\/documentation\/online\/user-manual\/embim1375.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Bookmark names can be functions, formulas, data source columns, system variables, random names, aliases, and more. To create a flat report with a hierarchy of bookmarks, create a single data band and place the band in a text component containing the company name data source column. The following image shows an example report template.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/www.stimulsoft.com\/en\/documentation\/online\/user-manual\/embim1376.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Rendering the report produces a list of companies, but no tree of bookmarks. To display the hierarchy of bookmarks, you must specify an expression (see example below).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">%\\{Customers.Country}\\{Customers.CompanyName}\\{Customers.Phone}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see from the formula, the hierarchy of bookmarks is represented by three levels.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The highest level is represented as a bookmark corresponding to the country name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Intermediate levels are represented as bookmarks corresponding to company names.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The lowest level is represented as bookmarks corresponding to company phone numbers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following illustration shows an example of the hierarchy of tabs.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" data-src=\"https:\/\/www.stimulsoft.com\/en\/documentation\/online\/user-manual\/embim1377.png\" alt=\"\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" class=\"lazyload\" \/><\/figure>","protected":false},"excerpt":{"rendered":"<p>\u5f0f\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30ec\u30dd\u30fc\u30c8\u306b\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306e\u304b\u306a\u308a\u8907\u96d1\u306a\u69cb\u9020\u3092\u5f62\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30d5\u30e9\u30c3\u30c8\u306a\u30ec\u30dd\u30fc\u30c8\uff08\u5f93\u5c5e\u30a8\u30f3 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","footnotes":""},"doc_category":[136],"doc_tag":[],"class_list":["post-2396","docs","type-docs","status-publish","hentry","doc_category-bookmarks","entry"],"year_month":"2026-05","word_count":11,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"yuko.imai","author_nicename":"yuko-imai","author_url":"https:\/\/kintools.com\/en\/author\/yuko-imai\/"},"doc_category_info":[{"term_name":"\u30d6\u30c3\u30af\u30de\u30fc\u30af","term_url":"https:\/\/kintools.com\/en\/docs-category\/bookmarks\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/docs\/2396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/comments?post=2396"}],"version-history":[{"count":1,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/docs\/2396\/revisions"}],"predecessor-version":[{"id":2397,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/docs\/2396\/revisions\/2397"}],"wp:attachment":[{"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/media?parent=2396"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/doc_category?post=2396"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/doc_tag?post=2396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}