How to change "Call Script" Label in the Workflow Left Panel in the Unified Service Desk Agent Scripting - crm

I'm trying to change the Call Script Label on the Left Panel Pane of the Unified Service Desk.
Doing the SetTheme action but only changing text property.

I do not think it is possible to configure or change Call Script name from within USD.
What you can try is that create your own agent scripts and call them from your code inside Unified Service Desk. Make them more generic so you would be able to change the name and what not through your code.

Yes you can, but you'd have to be using a custom Panel Layout Hosted Control. If you do that, you can edit the XAML and the title of the Call Script section is in there and you can change it.
MS USD Custom Panel Layout

Related

how to adda drop-down box to the basic info page of publisher portal?

I have wso2am4.0.0 and run success.
I want to change the textbox to drop down box of the Roles of basic info page (https://localhost:9443/publisher, Develop > Basic Info) , like image below.
How do I modify the source code of carbon-apimgt to make this change?
The publisher portal code can be found here - https://github.com/wso2/carbon-apimgt/tree/v9.0.174/features/apimgt/org.wso2.carbon.apimgt.publisher.feature
AFAIK, it's not possible. For that, you need to populate the existing roles list. Current publisher Rest API does not have such a resource to populate the role list and it only contains a validation resource[1].
[1] - https://apim.docs.wso2.com/en/latest/reference/product-apis/publisher-apis/publisher-v2/publisher-v2/#tag/Roles

odoo 8 Button Logic

i'm new with Odoo 8. I added a Button in my module (inherit sale order) to be able to execute the method calkulateEKNew. The function is calling how it should be, but it looks like that the button is doing more stuff in the background. After clicking the button it saves the sale order and calls the method calkulateEKNew.
Is it possible to trigger this button or to find the logic behind the button ?
Nice regards
Buttons are available to execute python methods on the Odoo server.
If you want to execute JavaScript code, you'll have to add a (client-side) widget, possibly a template and a JavaScript file to your module.
This URL points to further information about simple widgets:
https://www.odoo.com/documentation/8.0/howtos/web.html#widgets-basics

How to implement a button with a backend action in OpenWRT LUCI without UCI side effects

I am trying to to implement a button in LuCI which, when clicked , runs a shell script in the backend. This is the model code for this:
field_var_36 = section_var_7:option(Button,"buttonkk36",translate("ButtonKK"))
field_var_36.inputstyle = "apply"
field_var_36.rmempty = true
function field_var_36.write(self, section)
luci.sys.call('echo "ABCDEFG123" >/dev/null')
end
Though this is working it has some unwanted side-effects. All the unsaved modifications in the page are getting saved and I get a "n unsaved changes" notifications at the top. My guess is the the button if of type "submit" and all the fields inside the html "form" are getting "sumbitted". I dont want this to happen. The button needs to be standalone. Can this be done?
One other option I tried was using a template with button implemented in html. But I dont know how to connect this to the backend script. Is there a javascript API function in LuCI which takes the script as argument?
Thanks in advance for any help.
I did that using a view template.
You must set up an "entry(...)" in an "index()" function in the "controller/" directory.
The entry associates a path (last part of the LuCI URL's) with either a template view, cbi or LUA function, which is just what you want.
Pay attention that when you change by hand a controller file on the target openwrt device, you must delete /tmp/luci-indexcache so that the LuCI dispatcher does not use the older version.
Then in the template you can use "luci.dispatcher.build_url()" to create the URL that will make the controller call the function, and you put this as the target URL for your button (through either or or onClick="document.location=..."> and so on)

Invoking immediate save for Shield UI ASP.NET Chart

I am using Shield UI ASP.NET Charts to show registered (and logged in) users informations regarding their accounts. I went through the documentation, but can't find a solution to the following thing: is it possible to invoke an immediate save once the user clicks on the export icon?
I am enabling the save so:
<ExportOptions AllowExportToImage="true" AllowPrint="false" />
Are there any edditional parameters to be set?
There are no additional properties to be set/enabled because it is not possible to invoke an immediate save/export of the chart's image (skipping the filename and location choices).
However you may take use of the additional tooltips:
ExportTooltip="" or/and PrintTooltip=""
to provide the users some more information if needed.

Is it possible to differentiate between Live and Stage in Silverstripe when using onBeforeWrite?

In Silverstripe I'm using the method OnBeforeWrite to trigger a function when a page is updated or saved.
Documentation: http://api.silverstripe.org/2.4/cms/SiteTree.html#methodonBeforeWrite
Is there a way I can differentiate between writing to the Stage website ("Save" button) and the Live website ("Save & Publish" button)?
When you save a page SS will always do a write(). When you 'save and publish' doPublish() is also called. http://api.silverstripe.org/2.4/cms/SiteTree.html#methoddoPublish
The SiteTreeDecorator also has an onBeforePublish method. You may want to look into using that. http://api.silverstripe.org/2.4/sapphire/model/SiteTreeDecorator.html#methodonBeforePublish

Resources