Card action label (optional) - banno-digital-toolkit

In our Garden environment, we cleared the value in the Card action label (optional) setting, refreshed the screen, and the View More button no longer appears on the card (this is the expected behavior).
In the production environment, for a mutual client, we cleared the value in the Card action label (optional) setting, refreshed, and a button appears with a label that we did not define (appears to be a hardcoded default).
In reviewing the documentation, it indicates that the Dashboard Configuration should include the following settings:
Card action (optional)
Label (optional)
However, in the production environment, there is only a Card action label (optional) setting. This is also the only setting that we can define in the Garden environment.
What do we need to do in the production environment, in addition to clearing the Card action label (optional) setting, so that a button does not appear on our card? Plugin Configuration Settings

The short answer
The short answer is that you would need the Banno Admin at the financial institution to 'clear out the selection' of the External Application for the Card action (optional) section in Banno People.
That will remove the primary action button from the plugin card.
The long answer
The long answer is that there is some confusion based on some differences between how plugins are configured by the Banno Admin at a financial institution compared to how plugins are configured via a developer account on JackHenry.Dev.
The Banno Admin at a financial institution can configure a plugin to use up to two External Applications. The first External Application is used for the Card Face. The second External Application, configured via the Card action (optional) section, is used for the primary action button that activates the Expanded View. This gives some flexibility in that the two selections can be different External Applications or can be the same External Application (selected twice). The best way to remove the primary action button is to clear out both items in the Card action (optional) section:
Label (optional)
External application (which would be the 'Choose an integration' option in the dropdown list)
In contrast, when using the self-serve options via a developer account on JackHenry.Dev, the options for configuring a plugin are more limited. For developer accounts, we currently only support:
a plugin card without a primary action button
a plugin card with a primary action button (the same External Application used for both the Card Face and Expanded View, and clearing the Card action label (optional) text will remove the button)
I hope this helps explain the options.

Related

How to customize the Jira Issue Collector form that pops up?

Above is what the Issue Collector pop-up form looks like at the moment. This is used to report bugs on a mobile app. When creating the Issue Collector on Jira, I opted for a custom trigger style and a custom template. On Jira, my customization of the template (i.e. the Issue Collector form) is very limited.
I would like to modify the form so that:
More fields (eg Name & Email) are marked 'required', right now only the Summary is marked 'required'.
Multiple fields are displayed on the form. These fields will collect data on, for example OS version, and other specific details.
Is there a way to access the form's HTML code where I can make changes to elements and add more? Otherwise, how can I achieve this through another method?

Pressing the enter key in a Floating Filter text field unintentionally calls typescript method

I am a Junior developer working on a bug I found for my company. My main experience is with backend but the company wants to train me for fullstack development.
We are using Angular for our frontend, and have floating filtering for one of our data grids. The bug can be summarized as follows: When a column's floating filter text box is selected, regardless of input, pressing the enter key calls specific methods that are mapped to buttons that exist in other areas of the page. I am stumped as to what might be causing this.

Servicenow Service Portal, creating a Save button for the form widget in a custom widget

I currently have a custom portal with a custom version of the form widget that doesn't have any UI Actions (OOTB inclusive).
We also have a custom widget (let's call it "actions widget") where we control all the actions we need to take in the record.
Currently I need to create a "Save" button inside the actions widget where the user, after filling the form, can click on the save button to update the record.
I am unable to find any way to make this button work. The keyboard shortcut "CTRL + S" works perfectly but I have no idea what type of functions and/or methods this shortcut calls.
If this is too complicated or not possible I can also fetch the fields one by one (there is not a lot of them) and update the record with that information.
Can you guys assist me with this?
Thank you in advance.

Create two textBoxes/Dropdowns side by side Google App Script [Gmail Add-on]

Can anyone please suggest how to add two Widgets/InputTextBoxes side by side in a Google Apps Script [Gmail Add-on] ?
Sample Code:
var section = CardService.newCardSection();
section.addWidget(
CardService.newTextInput()
.setTitle("Title1")
.setFieldName("field1")
);
section.addWidget(
CardService.newTextInput()
.setTitle("Title2")
.setFieldName("title2")
);
The above Google Apps script code creates two InputText fields one below the other in Gmail Add-on.
Is there any way to create two TextInputFields/Dropdowns/Widgets in a same row? [next to each other]
Something like these:
Thanks,
Side-by-side (a.k.a. "in-line fields" in other products) can't currently be done, and will likely remain this way solely because of the width of the add-on sidebar. Google's style guide already recommends that you use a multi-line text input box if you are anticipating "more than a few words." I consider it unlikely for Google to extend their CardService implementation to add an "in-line" flag given their recommendation.
The reason for this restriction no doubt lies in the purpose of CardService:
The UI structures you build with this service are automatically available in both desktop and mobile devices, so you don't need to develop separate UIs for both.
and also stems from one of their "best practices":
If a given card has too many widgets, it can fill too much of the screen and become less useful. While large card sections render as collapsable UI elements, this hides information from the user. Aim to streamline your add-on and provide exactly what the user needs and no more.
With multiple text inputs on a single line, the display could become extremely crowded when viewing the add-on from a mobile device, even if it is still comfortable when viewed via desktop browser. Limitations on side-by-side layout are not unique to TextInputs. Other "side-by-side" widgets such as a Key-Value will not allow setting both a Button and a Switch.
Consider reviewing the available widgets on the Widget overview - images on the page detail the appearance of a wide variety of widgets and you may find something more suitable.
Alternately, consider creating a Feature Request for this functionality, or reviewing the existing Feature Requests in Google's Issue Tracker
Semi-related existing questions:
Any way to show two widget side by side in gmail add on?
How to create this UI in Gmail Add-on using Google Apps Script

UiApp cache vertical panel

Developing small app to record a set of 6 readings for monitoring purposes in 31 rooms. App will have two main views, one view to show list of buttons for each room where readings will be taken, a second view where the values will be entered for a particular room and then posted to a spreadsheet.
The process in mind here is click on button for a particular room, enter the data, return to button view to choose another room to enter the data for that room and then back to button view screen.
Since the button view will seldom change do I have any options for caching this view so that I do not have to run a function to rebuild it each time. I have this function
function createTGSRoomListButtons(sh, aData){}
That takes the list of rooms and builds a panel of buttons for selecting the different rooms.
The question that I have can the above function be run once to cobble together the UI, cached and the later simply be 'recalled'?
TO that some end the view where the data will be entered can this be partially cached so that with each rendering a reference to a specific room can be made.
New to Google Apps Script so not really sure how to properly determine my answer.
You can have multiple panels in an UI and play with visibility to show one or another... no need to cache any content since they remain unchanged in the process.
If I understood your use case well, the panel with specific room info would be modified according to spreadsheet data so in this case you won't need to cache values since they would be "reconstructed" each time. The trick to show/hide panel has been shown in this post with clientHandlersand multiple panels in a unique vertical panel to ensure that the visible panel is always at the right place.
A very simple way would be build the UI for the first time and then hide/unhide the buttons' panel each time using the setVisible() method of the panel