Posts

Showing posts from April, 2016

Invoke Taskflow from Script

Topic: Invoke Taskflow from Script Description:    var inputPropSet; var outputPropSet; var taskUIsvc; inputPropSet = TheApplication().NewPropertySet(); outputPropSet = TheApplication().NewPropertySet(); taskUIsvc = TheApplication().GetService("Task UI Service (SWE)"); inputPropSet.SetProperty("TaskName","<TaskFlow Name>"); taskUIsvc.InvokeMethod("LaunchTaskFromScript",inputPropSet,outputPropSet);

Hide Applets form just UI(View)

Problem:  To Hide applets from UI Description: There are certain scenarios where we want the applet to be added under a view to retain context for the child applet(case-Contact-SR:in the requirement we want to see only the Contact and SR applets and want to hide case applet) or during applet toggle; we need to give a default applet, but the requirement says there should not be any applet for rest of the values(here we need to hide the default applet). In these scenarios we could go for this custom template . Solution: 1. Create a new template under Web template entity and Assign the new swt file with Content as follows: <!-- Template Start: CCAppletList_B_EL.swt --> <swe:include file="CCApplet_NamedSpacer.swt"/> <swe:control id="1100"><div class=CmdTxt><swe:this property="FormattedHtml" hintText="Outside Applet Help Text" hintMapType="Control"/></div><p></swe:control> ...