Invoking immediate save for Shield UI ASP.NET Chart - asp.net

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.

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

How to distribute apps when SELECT button does nothing - Android Management API

I am building a console and have successfully rendered my iframe:
gapi.load('gapi.iframes', function() {
var options = {
'url': 'https://play.google.com/work/embedded/search?token=' + data + '&mode=SELECT',
'where': document.getElementById('container'),
'attributes': { style: 'width: 950px; height:500px', scrolling: 'yes'}
}
However, when I select an app using the provided SELECT button, it only returns the expected payload. I assumed that the iframe would do the heavy lifting here but now know that I need to build the logic. Can someone point me in the rightt direction here for approving the app via SELECT button? Is there a set of iframe events that I should be writing this with in mind? I'm completely lost since documentation here https://developers.google.com/android/management/apps#select-button_1
is extremely vague. Has anyone had issues with this before?
Thanks!
The documentation for the select button indicates that “You need to specify the action that takes place when the IT admin clicks this button”. It is up to the EMM to decide what to do next. You could prompt the user to approve the app on play.google.com/work
For example, you need to approve dropbox. You need to login with your enterprise account then go to this link https://play.google.com/work/apps/details?id=com.dropbox.android and then approve the app.
Or you could prompt the user to add the application to a policy, which automatically approves the app for use by the user’s enterprise.
You may refer to this link for more information about handling iframe events.

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

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

What is "Post on Changes" or "Reflection" functionality?

I am new to CC Guidewire. I didnt understand what post on change will do?
Thanks.
The "postOnChange" attribute on a PCF UI element can either be true or false.
If it is true then everytime that UI field is changed by a user; it will POST back to the server.
The server will then execute the code in corresponding UI elements "onChange" attribute.
These together basically allows you to add a piece of code that will fire when that UI field is been changed on screen by the user.
The reflection items can be used to use AJAX style updates to multiple fields on the basis of others. It is a bit more complex to use and understand.

Relating two shield UI ASP.NET Charts

I want to create two related Shield UI ASP.NET charts. When the users clicks on the first one, the data on the second one to be changed. I looked at the available events in my Visual Studio, however what i find are events related to the data binding, loading and so on. I also see there is a group of properties- ClientEvents. And for the SeriesClick event i declare the SeriesClickFunction. Which is located in my C# code:
protected void SeriesClickFunction() {
}
However when i run my application in debug mode and put a break on that function, it never gets triggered. Why is that? How could I actually take use of these events?
In the C# code module you may not place the ClientEvents functionality. What you need is to place it on the HTML source of your page. Here is one good example of how you may relate two charts in the manner you want:
https://demos.shieldui.com/aspnet/rangebar-chart/related-charts

Resources