<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>IBM BPM Tips Q&amp;A - Recent questions and answers in Coach Views</title>
<link>https://ibm.bpm.tips/qa/coach-views</link>
<description>Powered by Dosvak LLC</description>
<item>
<title>coach wizard</title>
<link>https://ibm.bpm.tips/3159/coach-wizard</link>
<description>How to create a wizard using Coach Views</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/3159/coach-wizard</guid>
<pubDate>Tue, 17 Oct 2023 03:22:55 +0000</pubDate>
</item>
<item>
<title>Rich text - upload image</title>
<link>https://ibm.bpm.tips/3154/rich-text-upload-image</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am using IBM BAW, I want to use the Rich Text component, but when I click on the &#039;Image&#039; item, the editor does not have the upload option enabled. I need to upload files from my PC.&lt;/p&gt;&lt;p&gt;I know that IBM BAW uses a third party library for this component&amp;nbsp; - &lt;a href=&quot;https://www.tiny.cloud/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://www.tiny.cloud/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Is it possible to enable the upload function with javascript?&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://ibm.bpm.tips/?qa=blob&amp;amp;qa_blobid=8239885992174552836&quot;&gt;Thank you.&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/3154/rich-text-upload-image</guid>
<pubDate>Fri, 01 Sep 2023 15:46:33 +0000</pubDate>
</item>
<item>
<title>how can I create tree view please?</title>
<link>https://ibm.bpm.tips/3142/how-can-i-create-tree-view-please</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I want to create a view with a tree, which can facilitate my access to data by level and sublevel.&lt;br /&gt;
&lt;br /&gt;
I need your help please, if there is a piece of code or a toolkit and thank you in advance.&lt;br /&gt;
&lt;br /&gt;
Best regards</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/3142/how-can-i-create-tree-view-please</guid>
<pubDate>Mon, 30 May 2022 09:37:10 +0000</pubDate>
</item>
<item>
<title>What are the UI technologies used in spark toolkit CV&#039;s?</title>
<link>https://ibm.bpm.tips/3137/what-are-the-ui-technologies-used-in-spark-toolkit-cvs</link>
<description></description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/3137/what-are-the-ui-technologies-used-in-spark-toolkit-cvs</guid>
<pubDate>Wed, 09 Feb 2022 07:14:32 +0000</pubDate>
</item>
<item>
<title>How to get the control name of a Button control in a coach view</title>
<link>https://ibm.bpm.tips/3133/how-to-get-the-control-name-of-a-button-control-in-a-coach-view</link>
<description>I have a scenario, where a button &amp;quot;Test&amp;quot; is added on a coachview - CV1.(This CV1 is used in many CSHS and other CVs also).&lt;br /&gt;
&lt;br /&gt;
Now i want to change the colour of the button dynamically and i can achieve it by&lt;br /&gt;
&lt;br /&gt;
page.ui.get(&amp;quot;/CV1/Test&amp;quot;).setColorStyle(&amp;quot;DANGER&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
But in another CSHS , i have CV2--&amp;gt;CV1--&amp;gt; Test button, In that case i need to change it to&lt;br /&gt;
&lt;br /&gt;
page.ui.get(&amp;quot;/CV2/CV1/Test&amp;quot;).setColorStyle(&amp;quot;DANGER&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
is there any way to get the path dynamically using some APIs based on the controlId of the button?</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/3133/how-to-get-the-control-name-of-a-button-control-in-a-coach-view</guid>
<pubDate>Wed, 12 Jan 2022 10:30:12 +0000</pubDate>
</item>
<item>
<title>How to Generate PDF from coach View Data and attach that PDF as a Document ?</title>
<link>https://ibm.bpm.tips/3120/how-to-generate-pdf-from-coach-view-data-and-attach-that-pdf-as-a-document</link>
<description>Need to generate PDF as Invoice from Coach UI Data and attache that generated pdf dirctly as Document attachment to same coach UI ?</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/3120/how-to-generate-pdf-from-coach-view-data-and-attach-that-pdf-as-a-document</guid>
<pubDate>Tue, 10 Aug 2021 02:22:11 +0000</pubDate>
</item>
<item>
<title>How can we initialize the variable in CoachView</title>
<link>https://ibm.bpm.tips/3118/how-can-we-initialize-the-variable-in-coachview</link>
<description></description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/3118/how-can-we-initialize-the-variable-in-coachview</guid>
<pubDate>Thu, 08 Jul 2021 12:48:03 +0000</pubDate>
</item>
<item>
<title>How to get row data based on row index in BAW Table</title>
<link>https://ibm.bpm.tips/3110/how-to-get-row-data-based-on-row-index-in-baw-table</link>
<description>I&amp;#039;m using IBM BAW OOTB SparkUI Table. I created list of objects and mapped to table. With Single Select configuration i tried to get the row index but i&amp;#039;m getting message as &amp;quot;Selected row has index undefined&amp;quot;. I tried all possible solutions across search but I couldn&amp;#039;t fix it. I tried Event section to get the row index. Any code sample would be highly appreciated. &lt;br /&gt;
&lt;br /&gt;
Verified all solutions&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.ibm.com/docs/en/baw/19.x?topic=toolkit-table&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://www.ibm.com/docs/en/baw/19.x?topic=toolkit-table&lt;/a&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/3110/how-to-get-row-data-based-on-row-index-in-baw-table</guid>
<pubDate>Tue, 25 May 2021 14:07:15 +0000</pubDate>
</item>
<item>
<title>Answered: How to call a function from Button-&gt;Event</title>
<link>https://ibm.bpm.tips/2951/how-to-call-a-function-from-button-event?show=3000#a3000</link>
<description>&lt;p&gt;This is a bit of different scenario but this may help you understand complete solution.&lt;br&gt;&amp;nbsp;&lt;/p&gt;&lt;p data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48);&quot;&gt;Let’s take a problem statement and try to solve.&lt;/p&gt;&lt;p data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48);&quot;&gt;&lt;strong style=&quot;border:0px; box-sizing:border-box; font-family:inherit; font-style:inherit; font-weight:700; margin:0px; outline:0px; padding:0px; vertical-align:baseline&quot;&gt;Problem Statement:&lt;/strong&gt;&lt;/p&gt;&lt;p data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48);&quot;&gt;I have a table with three columns, Like –&lt;/p&gt;&lt;figure class=&quot;wp-block-image&quot; style=&quot;box-sizing: border-box; display: block; margin: 0px 0px 1em; color: rgb(48, 48, 48); font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; text-align: start; background-color: rgb(255, 255, 255);&quot;&gt;&lt;img data-attachment-id=&quot;102&quot; data-permalink=&quot;https://atanubpmtips.wordpress.com/image/&quot; data-orig-file=&quot;https://atanubpmtips.files.wordpress.com/2019/01/image.png&quot; data-orig-size=&quot;785,207&quot; data-comments-opened=&quot;1&quot; data-image-meta=&quot;{&amp;quot;aperture&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;credit&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;camera&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;caption&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;created_timestamp&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;copyright&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;focal_length&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;iso&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;shutter_speed&amp;quot;:&amp;quot;0&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;orientation&amp;quot;:&amp;quot;0&amp;quot;}&quot; data-image-title=&quot;image&quot; data-image-description=&quot;&quot; data-medium-file=&quot;https://atanubpmtips.files.wordpress.com/2019/01/image.png?w=300&quot; data-large-file=&quot;https://atanubpmtips.files.wordpress.com/2019/01/image.png?w=648&quot; src=&quot;https://atanubpmtips.files.wordpress.com/2019/01/image.png&quot; alt=&quot;&quot; style=&quot;border-radius:inherit; box-sizing:border-box; height:auto; max-width:100%&quot; class=&quot;wp-image-102&quot;&gt;&lt;figcaption style=&quot;box-sizing: border-box; margin-top: 0.5em; margin-bottom: 1em;&quot;&gt;&lt;/figcaption&gt;&lt;/figure&gt;&lt;p data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48);&quot;&gt;When I select ‘No’ from the Selection column the other two cells of that row should be disabled and if I select ‘Yes’, cells should be editable.&lt;/p&gt;&lt;p data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48);&quot;&gt;&lt;strong style=&quot;border:0px; box-sizing:border-box; font-family:inherit; font-style:inherit; font-weight:700; margin:0px; outline:0px; padding:0px; vertical-align:baseline&quot;&gt;Solution:&lt;/strong&gt;&lt;/p&gt;&lt;p data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48);&quot;&gt;First we need to know the index of the Selection radio button –&lt;/p&gt;&lt;p data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48);&quot;&gt;&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Mono&amp;quot;, monospace; margin-top: 0px; margin-bottom: 24px; outline: 0px; padding: 24px; vertical-align: baseline; overflow: auto; max-width: 100%; background: rgb(248, 248, 248); word-break: normal; color: rgb(48, 48, 48);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Mono&amp;quot;, monospace; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; display: block; overflow-wrap: break-word;&quot;&gt;// Get the row index of checked radio button
var index = me.ui.getIndex();&lt;/code&gt;&lt;/pre&gt;&lt;p data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48);&quot;&gt;Then, we need to get the Coach View instance for the “Name” and “Value” cells of that row –&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Mono&amp;quot;, monospace; margin-top: 0px; margin-bottom: 24px; outline: 0px; padding: 24px; vertical-align: baseline; overflow: auto; max-width: 100%; background: rgb(248, 248, 248); word-break: normal; color: rgb(48, 48, 48);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Mono&amp;quot;, monospace; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; display: block; overflow-wrap: break-word;&quot;&gt;// sampleList1, name1 and value1 are the control ids of the table, name textbox and value textbox respectively

var nameView = page.ui.get(&#039;/sampleList1/name1[&#039;+index+&#039;]&#039;);
var valueView = page.ui.get(&#039;/sampleList1/value1[&#039;+index+&#039;]&#039;);&lt;/code&gt;&lt;/pre&gt;&lt;p class=&quot;inline-ad-slot&quot; id=&quot;inline-ad-3&quot; data-adtags-width=&quot;540&quot; data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px auto; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48); float: left; height: 0px; overflow: hidden; width: 540px;&quot;&gt;&lt;/p&gt;&lt;p data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48);&quot;&gt;Next, we need to get the selected value of the radio button for that row –&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Mono&amp;quot;, monospace; margin-top: 0px; margin-bottom: 24px; outline: 0px; padding: 24px; vertical-align: baseline; overflow: auto; max-width: 100%; background: rgb(248, 248, 248); word-break: normal; color: rgb(48, 48, 48);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Mono&amp;quot;, monospace; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; display: block; overflow-wrap: break-word;&quot;&gt;me.getData()&lt;/code&gt;&lt;/pre&gt;&lt;p data-adtags-visited=&quot;true&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Sans&amp;quot;, sans-serif; margin: 0px 0px 24px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(48, 48, 48);&quot;&gt;Finally, to achieve the requirement, we need to combine the above piece of codes and add a logic to set the visibility of the textboxes based on the selected value of the radio button –&lt;/p&gt;&lt;pre class=&quot;wp-block-code&quot; style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Mono&amp;quot;, monospace; margin-top: 0px; margin-bottom: 24px; outline: 0px; padding: 24px; vertical-align: baseline; overflow: auto; max-width: 100%; background: rgb(248, 248, 248); word-break: normal; color: rgb(48, 48, 48);&quot;&gt;&lt;code style=&quot;box-sizing: border-box; border: 0px; font-family: &amp;quot;PT Mono&amp;quot;, monospace; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; display: block; overflow-wrap: break-word;&quot;&gt;// Get current row index
var index = me.ui.getIndex();

// Get Coach View instance of the name and value textbox
var nameView = page.ui.get(&#039;/sampleList1/name1[&#039;+index+&#039;]&#039;);
var valueView = page.ui.get(&#039;/sampleList1/value1[&#039;+index+&#039;]&#039;);

// Set the visibility of the textboxes based on the selected value of the radio button

if(me.getData() == &quot;Y&quot;){
	nameView.context.options._metadata.visibility.set(&#039;value&#039;, &quot;DEFAULT&quot;);
	valueView.context.options._metadata.visibility.set(&#039;value&#039;, &quot;DEFAULT&quot;);
} else {
	valueView.context.options._metadata.visibility.set(&#039;value&#039;, &quot;READONLY&quot;);
	nameView.context.options._metadata.visibility.set(&#039;value&#039;, &quot;READONLY&quot;);
}&lt;/code&gt;&lt;/pre&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2951/how-to-call-a-function-from-button-event?show=3000#a3000</guid>
<pubDate>Sun, 21 Mar 2021 11:53:42 +0000</pubDate>
</item>
<item>
<title>Custom coachview for calculating difference between two dates</title>
<link>https://ibm.bpm.tips/2996/custom-coachview-for-calculating-difference-between-two-dates</link>
<description>I want to design a coachview to calculate difference between two dates.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2996/custom-coachview-for-calculating-difference-between-two-dates</guid>
<pubDate>Mon, 08 Mar 2021 10:11:36 +0000</pubDate>
</item>
<item>
<title>autofit table</title>
<link>https://ibm.bpm.tips/2991/autofit-table</link>
<description>how to autofit table by content?</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2991/autofit-table</guid>
<pubDate>Thu, 24 Dec 2020 10:18:29 +0000</pubDate>
</item>
<item>
<title>Tooltip on a table header</title>
<link>https://ibm.bpm.tips/2980/tooltip-on-a-table-header</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I wanted to add a tooltip on the table header. Can someone please help me with this. I have tried to add a table insert the tooltip, unfortunately, the label heading was not displaying and when I select show label then the label was showing outside the table.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2980/tooltip-on-a-table-header</guid>
<pubDate>Wed, 02 Sep 2020 21:56:01 +0000</pubDate>
</item>
<item>
<title>how to validate fields from validate event handler, any example ?</title>
<link>https://ibm.bpm.tips/2969/how-to-validate-fields-from-validate-event-handler-any-example</link>
<description>how can we validate any field from validation event handler, can any one help with example and syntax?</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2969/how-to-validate-fields-from-validate-event-handler-any-example</guid>
<pubDate>Wed, 19 Aug 2020 09:55:53 +0000</pubDate>
</item>
<item>
<title>Answered: ONLYOFFICE in Ibm Bpm</title>
<link>https://ibm.bpm.tips/2947/onlyoffice-in-ibm-bpm?show=2948#a2948</link>
<description>Not totally familiar with OnlyOffice, does it provide REST API or other interfaces ?, we can possibly build a iframe based custom control to open the editor</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2947/onlyoffice-in-ibm-bpm?show=2948#a2948</guid>
<pubDate>Wed, 15 Apr 2020 01:48:05 +0000</pubDate>
</item>
<item>
<title>Answered: What is prototype Level Event Handling in Coach Views?</title>
<link>https://ibm.bpm.tips/2650/what-is-prototype-level-event-handling-in-coach-views?show=2931#a2931</link>
<description>&lt;a href=&quot;https://youtu.be/RyYjT2dilBc&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://youtu.be/RyYjT2dilBc&lt;/a&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2650/what-is-prototype-level-event-handling-in-coach-views?show=2931#a2931</guid>
<pubDate>Thu, 09 Apr 2020 17:17:33 +0000</pubDate>
</item>
<item>
<title>Answered: How can we create design time wysiwyg preview for our custom coach views/controls?</title>
<link>https://ibm.bpm.tips/2917/how-can-we-create-design-time-wysiwyg-preview-for-our-custom-coach-views-controls?show=2918#a2918</link>
<description>&lt;p&gt;&lt;span style=&quot;color:#0077b5; font-family:Helvetica, sans-serif&quot;&gt;&lt;span style=&quot;font-size:14.6667px&quot;&gt;&lt;a href=&quot;https://youtu.be/4D2MGqeE5q4&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://youtu.be/4D2MGqeE5q4&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2917/how-can-we-create-design-time-wysiwyg-preview-for-our-custom-coach-views-controls?show=2918#a2918</guid>
<pubDate>Mon, 06 Apr 2020 18:25:42 +0000</pubDate>
</item>
<item>
<title>Answered: What is the life cycle of a Coach View in terms of sequence of event handlers?</title>
<link>https://ibm.bpm.tips/2915/what-is-the-life-cycle-of-a-coach-view-in-terms-of-sequence-of-event-handlers?show=2916#a2916</link>
<description>&lt;a href=&quot;https://youtu.be/6ZmjA-pLVTI&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;https://youtu.be/6ZmjA-pLVTI&lt;/a&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2915/what-is-the-life-cycle-of-a-coach-view-in-terms-of-sequence-of-event-handlers?show=2916#a2916</guid>
<pubDate>Mon, 06 Apr 2020 17:26:29 +0000</pubDate>
</item>
<item>
<title>Answered: What is a shutdown hook, e.g. do some processing when user closes the tab/browser window?</title>
<link>https://ibm.bpm.tips/2664/what-is-a-shutdown-hook-e-g-do-some-processing-when-user-closes-the-tab-browser-window?show=2737#a2737</link>
<description>In BPM UI toolkit there is an exit safeguard control which does this but is depcreated as of 8.6 version</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2664/what-is-a-shutdown-hook-e-g-do-some-processing-when-user-closes-the-tab-browser-window?show=2737#a2737</guid>
<pubDate>Wed, 20 Nov 2019 19:12:18 +0000</pubDate>
</item>
<item>
<title>Answered: In BAW Web PD where is the coach view/control palette?</title>
<link>https://ibm.bpm.tips/2700/in-baw-web-pd-where-is-the-coach-view-control-palette?show=2729#a2729</link>
<description>If you are used to working in verison 8.6 or lower and come across a coach designer in BAW 19 you will notice that there is no coach view pallette on the right hand side. You will need to hover over a content area on the coach and a plus icon will appear from there you can reach to the control palette.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2700/in-baw-web-pd-where-is-the-coach-view-control-palette?show=2729#a2729</guid>
<pubDate>Wed, 20 Nov 2019 18:54:04 +0000</pubDate>
</item>
<item>
<title>Answered: Does the order in which you include scripts in your custom Coach view matter?</title>
<link>https://ibm.bpm.tips/2702/does-the-order-in-which-you-include-scripts-in-your-custom-coach-view-matter?show=2727#a2727</link>
<description>Yes both for css and js includes the order in which they are included matters e.g. a library which uses jquery will need the jquery.js to be included before the library. same goes for css also since the order of css definitions matters.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2702/does-the-order-in-which-you-include-scripts-in-your-custom-coach-view-matter?show=2727#a2727</guid>
<pubDate>Wed, 20 Nov 2019 18:51:12 +0000</pubDate>
</item>
<item>
<title>Answered: In 8.6 onwards for Coach View behaviour there is a new section called &quot;Header HTML&quot; what is the purpose/benefit of that?</title>
<link>https://ibm.bpm.tips/2703/in-8-6-onwards-for-coach-view-behaviour-there-is-a-new-section-called-header-html-what-is-the-purpose-benefit-of-that?show=2726#a2726</link>
<description>Header HTMl as the name suggests is useful for placing information which goes in the &amp;lt;HEAD&amp;gt;&amp;lt;/HEAD&amp;gt; tag of a html. e.g. javascript reference, css reference, meta tags etc.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2703/in-8-6-onwards-for-coach-view-behaviour-there-is-a-new-section-called-header-html-what-is-the-purpose-benefit-of-that?show=2726#a2726</guid>
<pubDate>Wed, 20 Nov 2019 18:50:10 +0000</pubDate>
</item>
<item>
<title>Answered: How to get context path of REST API invocation?</title>
<link>https://ibm.bpm.tips/2705/how-to-get-context-path-of-rest-api-invocation?show=2706#a2706</link>
<description>&lt;p&gt;&lt;span style=&quot;-webkit-text-stroke-width:0px; background-color:#ffffff; color:#222222; display:inline !important; float:none; font-family:Arial,Helvetica,sans-serif; font-size:12px; font-style:normal; font-variant:normal; font-weight:400; letter-spacing:normal; orphans:2; text-align:left; text-decoration:none; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px&quot;&gt;var rest = this.context.contextRootMap.rest; &lt;/span&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2705/how-to-get-context-path-of-rest-api-invocation?show=2706#a2706</guid>
<pubDate>Thu, 31 Oct 2019 19:45:33 +0000</pubDate>
</item>
<item>
<title>Answered: What is benefit of &quot;stack&quot; control?</title>
<link>https://ibm.bpm.tips/2656/what-is-benefit-of-stack-control?show=2691#a2691</link>
<description>Stack control of BPM UI Toolkit is very useful in scenarios where you want to combine multiple views e.g. steps of a wizard etc in a single coach. The control binds to an integer index and when the index changes the stack pane switches, this changing the entire view altogether. &lt;br /&gt;
&lt;br /&gt;
It can also be used to create vertical tabs by adding a tab column to the left and connecting the tab actions to the index of the stack.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2656/what-is-benefit-of-stack-control?show=2691#a2691</guid>
<pubDate>Sun, 13 Oct 2019 11:51:30 +0000</pubDate>
</item>
<item>
<title>Answered: What is &quot;Data Change&quot; property for a Coach in CSHS?</title>
<link>https://ibm.bpm.tips/2657/what-is-data-change-property-for-a-coach-in-cshs?show=2690#a2690</link>
<description>Data Change is available as a new property in CSHS Coaches, this can be used to fire validations on change of data inside the Coach.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2657/what-is-data-change-property-for-a-coach-in-cshs?show=2690#a2690</guid>
<pubDate>Sun, 13 Oct 2019 11:48:55 +0000</pubDate>
</item>
<item>
<title>Answered: With CSHS can we use console.log in scripts?</title>
<link>https://ibm.bpm.tips/2655/with-cshs-can-we-use-console-log-in-scripts?show=2689#a2689</link>
<description>In HHS the scripts were run on server side but in CSHS the scripts outside the coach are run client side so it is possible to use console.log(&amp;quot;Some logging&amp;quot;) inside a CSHS script also.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2655/with-cshs-can-we-use-console-log-in-scripts?show=2689#a2689</guid>
<pubDate>Sun, 13 Oct 2019 11:47:50 +0000</pubDate>
</item>
<item>
<title>Answered: How can we minimize service flows in CSHS and do most of the navigation inside Coach?</title>
<link>https://ibm.bpm.tips/2660/how-can-we-minimize-service-flows-in-cshs-and-do-most-of-the-navigation-inside-coach?show=2686#a2686</link>
<description>With new features of BPM UI Toolkit and CSHS it is now possible to not have to many logic in the CSHS e.g. you define actions for your Coach and handle them in client side Javascript by creating service flows etc.&lt;br /&gt;
&lt;br /&gt;
One way is to use the event handlers of the BPM UI Toolkit e.g. onLoad, onChange etc. Also if you have to switch between multiple coaches instead you can use the &amp;quot;Stack&amp;quot; control to present multiple views on the same Coach similar to tabs but difference being the tab header is not visible in &amp;quot;Stack&amp;quot;. The stack control binds to an integer index and the value of the index determines which Stack is visible currently.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2660/how-can-we-minimize-service-flows-in-cshs-and-do-most-of-the-navigation-inside-coach?show=2686#a2686</guid>
<pubDate>Sun, 13 Oct 2019 11:43:56 +0000</pubDate>
</item>
<item>
<title>Answered: How can we deobfuscate javascript e.g. in Third Party Toolkits?</title>
<link>https://ibm.bpm.tips/2661/how-can-we-deobfuscate-javascript-e-g-in-third-party-toolkits?show=2685#a2685</link>
<description>Almost all third party vendors for toolkits place the javascript code in an obfuscated manner by minifying the javascript&lt;br /&gt;
&lt;br /&gt;
If you need to read the code to make some changes you can install JSTool plugin for notepad++ and do JSFormat on the code to convert it into legible view</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2661/how-can-we-deobfuscate-javascript-e-g-in-third-party-toolkits?show=2685#a2685</guid>
<pubDate>Sun, 13 Oct 2019 11:40:15 +0000</pubDate>
</item>
<item>
<title>Answered: How can you implement lazy loading using &quot;Deferred Container&quot; of BPM UI Toolkit?</title>
<link>https://ibm.bpm.tips/2665/how-can-you-implement-lazy-loading-using-deferred-container-of-bpm-ui-toolkit?show=2682#a2682</link>
<description>Deferred container has a option to lazy load automatically after a certain defined delay or it can be set to not lazy load automatically. In the latter case e.g. on selection of a tab or a check box you can lazy load the container as follows&lt;br /&gt;
&lt;br /&gt;
var defsec = page.ui.get(&amp;quot;/Template/SomeDefferedSection&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
if (!defsec.isLoaded()){&lt;br /&gt;
defsec.lazyLoad();&lt;br /&gt;
}</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2665/how-can-you-implement-lazy-loading-using-deferred-container-of-bpm-ui-toolkit?show=2682#a2682</guid>
<pubDate>Sun, 13 Oct 2019 11:34:23 +0000</pubDate>
</item>
<item>
<title>Answered: How can you access all coach views placed inside a content area in a Custom Coach View?</title>
<link>https://ibm.bpm.tips/2666/how-can-you-access-all-coach-views-placed-inside-a-content-area-in-a-custom-coach-view?show=2681#a2681</link>
<description>Sometimes when you are creating a custom control you need to select all child Coach Views inside a content area and do something with them e.g. move them to a jquery control etc.&lt;br /&gt;
&lt;br /&gt;
This can be done as follows&lt;br /&gt;
var subviews = this.context.element.querySelectorAll(&amp;quot;#resizer-layout &amp;gt; div &amp;gt; div&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
then you can do something with the child views&lt;br /&gt;
&lt;br /&gt;
var rows = [];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (var i=0; i &amp;lt; subviews.length; i++){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rows.push({template:subviews[i].id, content: subviews[i].id});&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (i &amp;lt; subviews.length-1){&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rows.push({view:&amp;quot;resizer&amp;quot;});&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2666/how-can-you-access-all-coach-views-placed-inside-a-content-area-in-a-custom-coach-view?show=2681#a2681</guid>
<pubDate>Sun, 13 Oct 2019 11:30:31 +0000</pubDate>
</item>
<item>
<title>Answered: What is a CSS selector and what are the various ways of doing CSS Selection?</title>
<link>https://ibm.bpm.tips/2667/what-is-a-css-selector-and-what-are-the-various-ways-of-doing-css-selection?show=2680#a2680</link>
<description>&lt;p&gt;In CSS, selectors are patterns used to select the element(s) you want to style.&lt;/p&gt;&lt;p&gt;You can see the various options for selectors at this reference&lt;/p&gt;&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.w3schools.com/cssref/css_selectors.asp&quot;&gt;https://www.w3schools.com/cssref/css_selectors.asp&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2667/what-is-a-css-selector-and-what-are-the-various-ways-of-doing-css-selection?show=2680#a2680</guid>
<pubDate>Sun, 13 Oct 2019 11:25:55 +0000</pubDate>
</item>
<item>
<title>Answered: What is a weight in CSS?</title>
<link>https://ibm.bpm.tips/2668/what-is-a-weight-in-css?show=2679#a2679</link>
<description>he font-weight values, from 100 to 900, reflect typographic practices of designing different-weight typefaces of a font. Very few fonts have all those weights, but the scale has been selected to cover, more or less, the different weights used. The CSS3 Fonts draft describes a correspondence between the numbers and traditional typographic terms such as Thin, Extra Light, etc., but terminology really varies.&lt;br /&gt;
&lt;br /&gt;
In typography, each weight is a separate typeface designed by typographer. This is one reason why most fonts have just two, or maybe just one, weight: it takes time to design a typeface, and time is money. Another reason especially applicable to fonts as used on the web is that display devices have been rather coarse, making fine typography often a rather pointless attempt. In particular, small font heights don’t work well on low-resolution devices.&lt;br /&gt;
&lt;br /&gt;
The CSS specifications define an algorithm for mapping declared font weights to available weights. For example, when only weights 400 and 700 are available (the usual situation), then weights 100, 200, and 300 are mapped to 400.&lt;br /&gt;
&lt;br /&gt;
However, in some cases browsers algorithmically bold glyphs. This is more of a problem than a solution, and due to browser differences, it may cause odd things if you ask for a nonexistent weight. Most browsers seem to use algorithmic bolding if a weight of 600 or more is requested for and the font only has normal (400) typeface. For example, setting font-weight: bold when text is in Arial Unicode MS (which has no bold typeface) creates an artificially bolded version of Arial Unicode MS.&lt;br /&gt;
&lt;br /&gt;
There are additional problems with commonly available fonts. Sometimes you need to use a typeface name as if it were a font name, e.g. font-family: Arial Black instead of the logical setting font-family: Arial; font-weight: 900. Sometimes this does not work, since on some browsers only the logical way works.&lt;br /&gt;
&lt;br /&gt;
As a rule, don’t try to use other weights than normal and bold unless you use downloadable fonts (web fonts) via @font-face, which gives you control over the font weight issue. Most fonts that can be used as downloadable contain just the two basic weights, or just one, but there are interesting free fonts with several weights.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2668/what-is-a-weight-in-css?show=2679#a2679</guid>
<pubDate>Sun, 13 Oct 2019 11:23:12 +0000</pubDate>
</item>
<item>
<title>Answered: Difference between document.querySelectorAll() and this.context.element.querySelector()</title>
<link>https://ibm.bpm.tips/2669/difference-between-document-queryselectorall-and-this-context-element-queryselector?show=2678#a2678</link>
<description>document.querySelectorAll() will get you all matching elements in the entire document whereas this.context.element.querySelector() or this.context.element.getElementsByClassName() will limit your search to the elements defined or created inside the current coach view. This is useful to create custom controls which will not affect other instances of the control.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2669/difference-between-document-queryselectorall-and-this-context-element-queryselector?show=2678#a2678</guid>
<pubDate>Sun, 13 Oct 2019 11:21:08 +0000</pubDate>
</item>
<item>
<title>Answered: How can you implement a unique ID for Custom Coach Views which are used in a repeating manner e.g. CV placed inside a Table Column?</title>
<link>https://ibm.bpm.tips/2672/how-can-you-implement-a-unique-id-for-custom-coach-views-which-are-used-in-repeating-manner-cv-placed-inside-table-column?show=2676#a2676</link>
<description>If you create a custom coach view and place it inside a repeating construct like Table the view index is not automatically added to the Coach View and you may get undesired results&lt;br /&gt;
&lt;br /&gt;
One way to handle this is if you have a OOB CV inside your control you can piggy back on the id of that CV to set the id of the parent Coach View elelemts&lt;br /&gt;
&lt;br /&gt;
var viewid = _this.context.viewid;&lt;br /&gt;
viewid += _this.context.element.getElementsByClassName(&amp;quot;Vertical_Layout&amp;quot;)[0].id;&lt;br /&gt;
_this.context.element.querySelectorAll(&amp;quot;div&amp;quot;)[0].id = viewid + &amp;quot;-example&amp;quot;;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2672/how-can-you-implement-a-unique-id-for-custom-coach-views-which-are-used-in-repeating-manner-cv-placed-inside-table-column?show=2676#a2676</guid>
<pubDate>Sun, 13 Oct 2019 11:16:39 +0000</pubDate>
</item>
<item>
<title>what is difference between me.ui.get(), this.ui.get() and page.ui.get()?</title>
<link>https://ibm.bpm.tips/2659/what-is-difference-between-me-ui-get-this-ui-get-and-page-ui-get</link>
<description></description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2659/what-is-difference-between-me-ui-get-this-ui-get-and-page-ui-get</guid>
<pubDate>Sat, 12 Oct 2019 12:06:16 +0000</pubDate>
</item>
<item>
<title>Answered: Can we use Popovers for data Entry i.e. Custom Popover Control with ability to place a Coach View inside it?</title>
<link>https://ibm.bpm.tips/2641/can-we-use-popovers-for-data-entry-i-e-custom-popover-control-with-ability-to-place-a-coach-view-inside-it?show=2647#a2647</link>
<description>&lt;p&gt;Dosvak UI Toolkit has such a control, you can attach coach view or multiple coachviews inside it&lt;/p&gt;&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.dosvak.com/?page_id=1526&quot;&gt;Dosvak UI Toolkit&lt;/a&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2641/can-we-use-popovers-for-data-entry-i-e-custom-popover-control-with-ability-to-place-a-coach-view-inside-it?show=2647#a2647</guid>
<pubDate>Thu, 29 Aug 2019 09:39:20 +0000</pubDate>
</item>
<item>
<title>Answered: How to get full path of a coach view beginning from the root of the document ? page.ui.get(&quot;fullpath&quot;) needs a fullpath to resolve items</title>
<link>https://ibm.bpm.tips/2639/how-to-get-full-path-of-coach-view-beginning-from-the-root-of-the-document-page-get-fullpath-needs-fullpath-resolve-items?show=2645#a2645</link>
<description>&lt;p&gt;page.ui.getContainerPath&lt;span style=&quot;font-family:Menlo,Monaco,Consolas,&amp;quot;Courier New&amp;quot;,monospace; font-size:13px&quot;&gt;(view)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:Menlo, Monaco, Consolas, Courier New, monospace&quot;&gt;&lt;span style=&quot;font-size:13px&quot;&gt;${Button1}.&lt;/span&gt;&lt;/span&gt;getAbsoluteName&lt;span style=&quot;font-family:Menlo,Monaco,Consolas,&amp;quot;Courier New&amp;quot;,monospace; font-size:13px&quot;&gt;(path)&lt;/span&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2639/how-to-get-full-path-of-coach-view-beginning-from-the-root-of-the-document-page-get-fullpath-needs-fullpath-resolve-items?show=2645#a2645</guid>
<pubDate>Thu, 29 Aug 2019 09:29:13 +0000</pubDate>
</item>
<item>
<title>Answered: How can we create a search List using BPM UI Toolkit ? e.g. when you start typing it filters the list by search text</title>
<link>https://ibm.bpm.tips/2637/how-can-we-create-a-search-list-using-bpm-ui-toolkit-e-g-when-you-start-typing-it-filters-the-list-by-search-text?show=2638#a2638</link>
<description>&lt;p&gt;BPM UI toolkit can be extended by composite controls like this one, this has been added to Dosvak UI Toolkit available&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=1937090827933019481&quot; style=&quot;height:216px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2637/how-can-we-create-a-search-list-using-bpm-ui-toolkit-e-g-when-you-start-typing-it-filters-the-list-by-search-text?show=2638#a2638</guid>
<pubDate>Sun, 28 Jul 2019 18:02:32 +0000</pubDate>
</item>
<item>
<title>Answered: BPM UI toolkit does not have a dual-list How can a dual-list composite control be created using BPM Ui Toolkit ?</title>
<link>https://ibm.bpm.tips/2635/bpm-ui-toolkit-does-not-have-a-dual-list-how-can-a-dual-list-composite-control-be-created-using-bpm-ui-toolkit?show=2636#a2636</link>
<description>&lt;p&gt;You can create a composite control by using the elementary controls and create buttons for move all, move selected. This control has been added to the Dosvak UI toolkit.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=16273166695428687604&quot; style=&quot;height:294px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=11646250343679358831&quot; style=&quot;height:323px; width:474px&quot;&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2635/bpm-ui-toolkit-does-not-have-a-dual-list-how-can-a-dual-list-composite-control-be-created-using-bpm-ui-toolkit?show=2636#a2636</guid>
<pubDate>Sun, 28 Jul 2019 17:28:53 +0000</pubDate>
</item>
<item>
<title>Answered: Can Someone provide a working example of a custom Slider Control Coach View in IBM BPM 8.x?</title>
<link>https://ibm.bpm.tips/112/can-someone-provide-a-working-example-of-a-custom-slider-control-coach-view-in-ibm-bpm-8-x?show=2634#a2634</link>
<description>&lt;p&gt;The Out of Box Slider control in the BPM UI Toolkit is missing the tick marks, labels for selection ticks etc, seeing the need for a fully customizable slider control we have created a Responsive control in the Dosvak UI Toolkit for it it can be downloaded from &lt;a rel=&quot;nofollow&quot; href=&quot;https://git.itlab.live/root/dosvak/tree/master/UI%20Toolkit&quot;&gt;Gitlab Location&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=4590010607445712926&quot; style=&quot;height:50px; width:600px&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=2380978585785899368&quot; style=&quot;height:57px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=16348011426731543401&quot; style=&quot;height:306px; width:446px&quot;&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/112/can-someone-provide-a-working-example-of-a-custom-slider-control-coach-view-in-ibm-bpm-8-x?show=2634#a2634</guid>
<pubDate>Sun, 28 Jul 2019 15:36:57 +0000</pubDate>
</item>
<item>
<title>Answered: How can we build a custom Control for Bootstrap Jquery TreeView with ability to identify which row was selected/clicked?</title>
<link>https://ibm.bpm.tips/2632/how-can-we-build-a-custom-control-for-bootstrap-jquery-treeview-with-ability-to-identify-which-row-was-selected-clicked?show=2633#a2633</link>
<description>&lt;p&gt;Bootstrap Treeview using Jquery is a js library the following control has been built using that, it expects a JSON in a certain format&amp;nbsp;&lt;/p&gt;&lt;pre style=&quot;color: rgb(0, 0, 0);&quot;&gt;var myTree = [
    {
      text: &quot;Item 1&quot;,
      nodes: [
        {
          text: &quot;Item 1-1&quot;,
          nodes: [
            {
              text: &quot;Item 1-1-1&quot;
            },
            {
              text: &quot;Item 1-1-2&quot;
            }
          ]
        },
        {
          text: &quot;Item 1-2&quot;
        }
      ]
    },
    {
      text: &quot;Item 2&quot;
    },
    {
      text: &quot;Item 3&quot;
    }
    ...
];&lt;/pre&gt;&lt;pre style=&quot;color: rgb(0, 0, 0);&quot;&gt;There are configuration options like fontSize, fontColor, backgroundColor, width, initially Expanded to Level, on selection it has a event handler defined and also a config option is updated with the selected row text so that you can do necessary processing after that e.g. firing a boundary event or other actions.&lt;/pre&gt;&lt;pre style=&quot;color: rgb(0, 0, 0);&quot;&gt;&lt;/pre&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=14348550195322376040&quot; style=&quot;height:539px; width:600px&quot;&gt;
&lt;pre style=&quot;color: rgb(0, 0, 0);&quot;&gt;It is now part of Dosvak UI Toolkit and latest version can be downloaded from &lt;a rel=&quot;nofollow&quot; href=&quot;https://git.itlab.live/root/dosvak/tree/master/UI%20Toolkit&quot;&gt;Dosvak Gitlab&lt;/a&gt;&lt;/pre&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2632/how-can-we-build-a-custom-control-for-bootstrap-jquery-treeview-with-ability-to-identify-which-row-was-selected-clicked?show=2633#a2633</guid>
<pubDate>Sat, 27 Jul 2019 15:23:43 +0000</pubDate>
</item>
<item>
<title>Answered: How can we build a accordion control using Collapsible panel of BPM UI Toolkit ?</title>
<link>https://ibm.bpm.tips/2629/how-can-we-build-a-accordion-control-using-collapsible-panel-of-bpm-ui-toolkit?show=2631#a2631</link>
<description>&lt;p&gt;Collapsible Panels can be improvised with a composite control where in on expanding a certain section the remaining sections can be closed except the current one which creates a accordion effect. Following code does the above&lt;/p&gt;&lt;p&gt;var myindex = me.ui.getIndex();&lt;/p&gt;&lt;p&gt;//alert(myindex);&lt;/p&gt;&lt;p&gt;for (var i=0; i &amp;lt; ${Accordion_Data1}.getData().items.length; i++){&lt;/p&gt;&lt;p&gt;if (i != myindex){&lt;/p&gt;&lt;p&gt;var str1 = &quot;../Accordion_Collapsible_Panel1&quot;+ &quot;[&quot; + i + &quot;]&quot;;&lt;/p&gt;&lt;p&gt;if(me.ui.get(str1).isExpanded()){&lt;/p&gt;&lt;p&gt;me.ui.get(str1).collapse();&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=12940750201114688566&quot; style=&quot;height:539px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2629/how-can-we-build-a-accordion-control-using-collapsible-panel-of-bpm-ui-toolkit?show=2631#a2631</guid>
<pubDate>Fri, 26 Jul 2019 22:37:02 +0000</pubDate>
</item>
<item>
<title>Answered: BPM UI Toolkit breadcrumbs are missing the active step indicator and style options are limited? Any alternatives</title>
<link>https://ibm.bpm.tips/2628/bpm-ui-toolkit-breadcrumbs-are-missing-the-active-step-indicator-and-style-options-are-limited-any-alternatives?show=2630#a2630</link>
<description>&lt;p&gt;Looks like there is no way to identify the current step in the OOB breadcrumbs and style is also flimsy, identifying the need we have created a custom control which is added to the Dosvak UI Toolkit.&lt;/p&gt;&lt;p&gt;This control is called Advanced Breadcrumbs and has four styles to choose from&lt;/p&gt;&lt;p&gt;Basic&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=4982843624537079254&quot; style=&quot;height:74px; width:422px&quot;&gt;&lt;br&gt;Triangle&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=15475197839831643559&quot; style=&quot;height:72px; width:426px&quot;&gt;&lt;/p&gt;&lt;p&gt;Multi-Step&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=11389047012093169462&quot; style=&quot;height:78px; width:457px&quot;&gt;&lt;/p&gt;&lt;p&gt;Numeric Progress&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=3523118432865500000&quot; style=&quot;height:86px; width:442px&quot;&gt;&lt;/p&gt;&lt;p&gt;It has configuration selection for the four styles, provides on click event handler and you can specify the label of the current item as a configuration. You need to provide a NameValuePair list of step names as name element and icon as value. e.g.&lt;/p&gt;&lt;p&gt;var autoObject = [];&lt;/p&gt;&lt;p&gt;autoObject[0] = {};&lt;/p&gt;&lt;p&gt;autoObject[0].name = &quot;Entry&quot;;&lt;/p&gt;&lt;p&gt;autoObject[0].value = &quot;fa-home&quot;;&lt;/p&gt;&lt;p&gt;autoObject[1] = {};&lt;/p&gt;&lt;p&gt;autoObject[1].name = &quot;Review&quot;;&lt;/p&gt;&lt;p&gt;autoObject[1].value = &quot;fa-search&quot;;&lt;/p&gt;&lt;p&gt;autoObject[2] = {};&lt;/p&gt;&lt;p&gt;autoObject[2].name = &quot;Approve&quot;;&lt;/p&gt;&lt;p&gt;autoObject[2].value = &quot;fa-thumbs-up&quot;;&lt;/p&gt;&lt;p&gt;autoObject[3] = {};&lt;/p&gt;&lt;p&gt;autoObject[3].name = &quot;Finalize&quot;;&lt;/p&gt;&lt;p&gt;autoObject[3].value = &quot;fa-database&quot;;&lt;/p&gt;&lt;p&gt;On click it will trigger the event handler as well as set the binding of the control to the selected item.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2628/bpm-ui-toolkit-breadcrumbs-are-missing-the-active-step-indicator-and-style-options-are-limited-any-alternatives?show=2630#a2630</guid>
<pubDate>Fri, 26 Jul 2019 22:08:08 +0000</pubDate>
</item>
<item>
<title>Answered: How can we get url of a managed file inside a coach view ?</title>
<link>https://ibm.bpm.tips/2624/how-can-we-get-url-of-a-managed-file-inside-a-coach-view?show=2625#a2625</link>
<description>&lt;p&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;com_ibm_bpm_coach.getManagedAssetUrl = function(&lt;/span&gt;&lt;strong style=&quot;border:0px; color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace; font-weight:700; margin:0px; padding:0px; vertical-align:top; white-space:pre-line&quot; class=&quot;keyword parmname parmname&quot;&gt;assetName&lt;/strong&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;border:0px; color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace; font-weight:700; margin:0px; padding:0px; vertical-align:top; white-space:pre-line&quot; class=&quot;keyword parmname parmname&quot;&gt;assetType&lt;/strong&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;border:0px; color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace; font-weight:700; margin:0px; padding:0px; vertical-align:top; white-space:pre-line&quot; class=&quot;keyword parmname parmname&quot;&gt;projectShortName&lt;/strong&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;border:0px; color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace; font-weight:700; margin:0px; padding:0px; vertical-align:top; white-space:pre-line&quot; class=&quot;keyword parmname parmname&quot;&gt;returnWithoutAssetName&lt;/strong&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;e.g.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;com_ibm_bpm_coach.getManagedAssetUrl(&lt;/span&gt;&lt;strong style=&quot;border:0px; color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace; font-weight:700; margin:0px; padding:0px; vertical-align:top; white-space:pre-line&quot; class=&quot;keyword parmname parmname&quot;&gt;&quot;somefile.png&quot;&lt;/strong&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-sans,HelvRegularIBM,&amp;quot;Helvetica Neue&amp;quot;,Arial,sans-serif&quot;&gt;com_ibm_bpm_coach.assetType_WEB&lt;/span&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;,&amp;nbsp;&quot;&lt;/span&gt;&lt;strong style=&quot;border:0px; color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace; font-weight:700; margin:0px; padding:0px; vertical-align:top; white-space:pre-line&quot; class=&quot;keyword parmname parmname&quot;&gt;MYPR&quot;&lt;/strong&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;border:0px; color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace; font-weight:700; margin:0px; padding:0px; vertical-align:top; white-space:pre-line&quot; class=&quot;keyword parmname parmname&quot;&gt;false&lt;/strong&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.ibm.com/support/knowledgecenter/en/SSV2LR/com.ibm.wbpm.wle.editor.doc/topics/tgenerateurlsmanagedassets.html&quot;&gt;&lt;span style=&quot;color:#323232; font-family:ibm-plex-mono,Menlo,&amp;quot;DejaVu Sans Mono&amp;quot;,&amp;quot;Bitstream Vera Sans Mono&amp;quot;,Courier,monospace&quot;&gt;detailed reference&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2624/how-can-we-get-url-of-a-managed-file-inside-a-coach-view?show=2625#a2625</guid>
<pubDate>Mon, 22 Jul 2019 14:53:32 +0000</pubDate>
</item>
<item>
<title>Answered: Can we dynamically add tabs based on a list of complex object ? is an example possible?</title>
<link>https://ibm.bpm.tips/146/can-we-dynamically-add-tabs-based-on-a-list-of-complex-object-is-an-example-possible?show=2623#a2623</link>
<description>&lt;p&gt;Attached is a working custom control called &quot;Advanced Repeating Tabs&quot; which takes a list input and shows the same Coah View repeated for each element of the list, it has tabs on top and tabs on left configurations also you can bind any list element to the label and each tab will show that label based on the list items. You can enable/disable addition and deletion of tabs. When you add a new tab an Unittled tab appears with the same repeated Coach View, when you enter the values connected to the label the label of the tab changes.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=15327852002383723050&quot; style=&quot;height:528px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://bpm.tips/?qa=blob&amp;amp;qa_blobid=13032304428277812335&quot; style=&quot;height:528px; width:600px&quot;&gt;&lt;/p&gt;&lt;p&gt;The Download is as part of Dosvak UI Toolkit located at&amp;nbsp;&amp;nbsp;&lt;a rel=&quot;nofollow&quot; href=&quot;https://www.dosvak.com/?page_id=1654&quot;&gt;Dosvak Downloads&lt;/a&gt;&lt;/p&gt;</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/146/can-we-dynamically-add-tabs-based-on-a-list-of-complex-object-is-an-example-possible?show=2623#a2623</guid>
<pubDate>Sun, 21 Jul 2019 15:05:09 +0000</pubDate>
</item>
<item>
<title>Answered: How can a Task context based autosave Coach View created and implemented ?</title>
<link>https://ibm.bpm.tips/2594/how-can-a-task-context-based-autosave-coach-view-created-and-implemented?show=2606#a2606</link>
<description>You can implement a autosave Coach View by usins a timer control or creating a custom java script timer, you will invoke this.context.trigger() on it and connect the boundary event back to the same coach, once the boundary event is triggered the coach context is saved and even if the user closes the coach/task the data is saved in the context and will reappear when the task is relaunched.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2594/how-can-a-task-context-based-autosave-coach-view-created-and-implemented?show=2606#a2606</guid>
<pubDate>Sat, 13 Jul 2019 08:03:35 +0000</pubDate>
</item>
<item>
<title>Answered: What is a variant control ?</title>
<link>https://ibm.bpm.tips/2595/what-is-a-variant-control?show=2605#a2605</link>
<description>A variant control is a Coch View which behaves differently depending on bound data e.g if you bind an integer it will appear as a number input and if bound to string will work like a string input. This is part of BPM UI Toolkit/Spark UI toolkit.&lt;br /&gt;
&lt;br /&gt;
It is also possible to create a custom variant control which depending on bound data or a bound configuration appears differently based on business data e.g. for a certain department it appears as a input box or appears as a drop down for another department.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2595/what-is-a-variant-control?show=2605#a2605</guid>
<pubDate>Sat, 13 Jul 2019 08:01:24 +0000</pubDate>
</item>
<item>
<title>Answered: How to dinamic ${name[i]} ?</title>
<link>https://ibm.bpm.tips/2537/how-to-dinamic-%24-name-i?show=2557#a2557</link>
<description>I use eval javascript function :-)</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2537/how-to-dinamic-%24-name-i?show=2557#a2557</guid>
<pubDate>Thu, 30 May 2019 03:32:52 +0000</pubDate>
</item>
<item>
<title>Answered: How to make childcoach views lazy load..</title>
<link>https://ibm.bpm.tips/710/how-to-make-childcoach-views-lazy-load?show=2550#a2550</link>
<description>You can use the Deferred Section control for lazy loading.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/710/how-to-make-childcoach-views-lazy-load?show=2550#a2550</guid>
<pubDate>Mon, 20 May 2019 02:43:36 +0000</pubDate>
</item>
<item>
<title>Answered: How to change the position of the label to left from top for text controls in client side human service</title>
<link>https://ibm.bpm.tips/1888/how-to-change-the-position-of-the-label-to-left-from-top-for-text-controls-in-client-side-human-service?show=2545#a2545</link>
<description>In 8.6 , &amp;nbsp;inside the configuration-&amp;gt; Appearance window of every Control we have a Label placement . we can change it accordingly.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/1888/how-to-change-the-position-of-the-label-to-left-from-top-for-text-controls-in-client-side-human-service?show=2545#a2545</guid>
<pubDate>Mon, 20 May 2019 02:30:43 +0000</pubDate>
</item>
<item>
<title>Answered: What are the multiple ways of invoking an ajax service both internal and external ?</title>
<link>https://ibm.bpm.tips/2502/what-are-the-multiple-ways-of-invoking-an-ajax-service-both-internal-and-external?show=2541#a2541</link>
<description>I know the One way this is onclick of a button you can call your service by using ${servicecontrolid}.execute() method.&lt;br /&gt;
&lt;br /&gt;
you can use this on load of a page also.</description>
<category>Coach Views</category>
<guid isPermaLink="true">https://ibm.bpm.tips/2502/what-are-the-multiple-ways-of-invoking-an-ajax-service-both-internal-and-external?show=2541#a2541</guid>
<pubDate>Mon, 20 May 2019 02:16:16 +0000</pubDate>
</item>
</channel>
</rss>