Can you add the same custom control to an xpage multiple times - xpages

I've created a cc that creates a google chart - I pass data to it via compositeData
Can I add more than one to an xpage?

Related

How can I create a simple grid?

I want to create a simple gird with 2 columns, I've been trying to create it inside a new tab(Test)...
but when I add the new grid the tab disappears.
Do I need to add any more components?
Thanks!!!
The tab is empty because there are no visible fields in them. The framework hides empty tabs automatically.
To add fields you need to set the grid DataMember property first.
The value needs to be set to the name of a DataView contained in the graph bounded to the customized screen. If you need new data you need to create a DataView in a graph extension. In your scenario the graph used is InventoryItemMaint.
Example for DataMember property, I used ItemSettings DataView because it is part of InventoryItemMaint graph:
Then you can add the fields from the ADD DATA FIELDS tab:
There are a number of steps that need to be followed such as adding a Data View in your graph, linking the data view to this gridetc. In case you are not familiar with this I would suggest that you follow the Acumatica T200 Training (from the Acumatica University).
Regarding Tab disappearing, I believe this might happen because your grid might not be linked correctly to the Graph. Also, Acumatica automatically removes a tab if all the components in that Tab are hidden.

Share text-field between different templates

I have two different templates, each template has one document.
In each document I have dragged and dropped text field and gave it same data label of "Email".
When I type a value in one field I want it to be duplicated to another textfield which is in another template. I'm not sending the data via API, just using docusign portal.
To see same value coming on multiple documents in the same envelope with same Data Label, then please check if below settings are enabled in your Account.
Go To Admin
Select Sending Settings from left hand side navigation
In Section Automatically replicate information in fields with the
same Data Label, select radio button on all documents in an envelope

Adding HTML table related controls on RTE toolbar

We want to be able to add and update HTML tables for our rich text using a Rich text editor. We need a button(or buttons) providing us the
Ability to add HTML table. On click of the button, user should be
able to specify the number of rows and columns in the table
Ability to add columns to existing table
Ability to remove columns from existing table
Ability to add rows to existing table
Ability to remove rows from existing table
As an admin user, in Crafter Studio go to the "Administration" panel for a given site. There you will find a tool called "Configurations." Using this tool, select RTE Configuration. This will load the RTE configuration for the site. This is where you will make your updates.
The RTE configuration file allows you to define "setups." Each setup has a name (the default one is called 'generic'.) An RTE can be assigned a given setup.
Each setup has tags for toolbar configuration called toolbar1, toolbar2, toolbar3, and toolbar4. This is where you configure the buttons available to the RTE. The possible options are listed here: https://www.tinymce.com/docs-3x//reference/buttons/
The button names you are looking for are:
table
tablecontrols
row_props
cell_props
delete_col
delete_row
col_after
col_before
row_after
row_before
split_cells
merge_cells

XPages - Value Picker - Update Multiple fields

I would like to use a dominoViewValuePicker to update several fields with several values. I have seen that it is possible to add multiple values to the one field. Is it possible to select one document from a dominoViewValuePicker and then use multiple values from this document to update multiple fields on the XPage?
Certainly. Just set the onChange event to refresh those fields (preferably, they all go into a panel so that you can do a partial refresh rather than a full refresh) and compute the values (either from the script on the onChange or just by the formulas for determining those values in the first place).
If you do set up a panel for a partial refresh, make sure to give the panel an ID. By default panels are not given ID's and are not available to refresh.

Hide custom list columns from the NewFrom, EditForm, notification emails

I've created several custom columns in the Tasks list named NotifyUser and IsUserNotified. These columns are not supposed to be changed by user. I change them programmatically only. Is there any mechanism to:
Hide those columns from the NewForm, EditForm (I wanna use
existent Forms).
Skip executing workflows when any of those two columns been changed.
Exclude columns from the notification mails (as long as user doesn't know anything about these columns, there is no need to show them).
You only can control these things if you are creating your field programmatically or via a field schema definition (deployment via WSP Solution and a feature):
Set the property Hidden to true in order to hide the field in user forms and views.
Refer to: SharePoint Workflow: how to update the item without triggering the workflow again
Should be done by 1.
You can edit your view by going in List Tools->List->List Settings->Views.
Then click on the name of your List from where you can uncheck the column that u dont want to show to the user and click ok.

Resources