Adding HTML table related controls on RTE toolbar - crafter-cms

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

Related

Tabulator: Access to columns with keyboard

I am trying to create a table using the Tabulator library, and I'm encountering a problem with accessibility.
Using any of the examples on the Tabulator site which have column sorting, I need to tab into the column and use the space bar or enter key to sort the column (simulating a click or a touch). However, I am unable to use keyboard to access the columns - it appears that only a mouse click is possible.
Are there any settings when declaring my columns that I can use to gain keyboard accessibility to the columns?
This functionality is not built in at present, If you would like to see the functionality added to the library please create a Feature Request

Creating from blank canvas sharepoint lookup fields are not visible when editing form

Creating from blank Powerapp canvas Sharepoint lookup fields are not visible when editing form.
It is working fine if I start creating my app from Sharepoint data however I need tablet/web layout. I am using on-prem Sharepoint data and a gateway.
Update: As a workaround I was able to convert my phone layout app derived from sharepoint list to a tablet layout by saving to local folder and updating the properties json file.
Steps:
Save phone layout app created from sharepoint data to local folder.
Create a blank app from tablet layout and save to local folder.
Rename both .msapp files by adding the .zip extension.
Extract both file to one directory
open the properties.json file of both apps and update the LocalConnectionReferences, DocumentLayoutWidth, DocumentLayoutHeight, DocumentLayoutOrientation, DocumentAppType to be the same as the value of the blank app
Save and drag updated properties.json to the original zip file.
Rename from zip to msapp extension.
Reopen from powerapps, browse from local folder.
Click App Settings.Click Screen size + orientation.
In the Size radio button, select 3:2. Click Apply.Click Save.
In the Size radio button, select 16:9.Click Apply.Click Save.
Would you be willing to try this method? (You can mute the sound if it bothers you.)
https://www.youtube.com/watch?v=TGhiNakRx6Q
If you don't like that approach:
Forms: Try selecting the form control, then use the right properties panel to click on edit fields. The lookup column should be listed in the area with the checkboxes. If it is a brand new lookup column that you recently added to SharePoint, then try saving and closing your app, then reopening to force a hard refresh of the data.
Galleries: Click on the label control where you want the lookup, then use the formula bar TEXT property and use the formula ThisItem. followed by the field name then followed by another . (dot) then Value.

Spotfire hyperlink in cross table

Has anyone able to make a column to be hyperlink in cross table in Spotfire? I can set the column to Link Render in regular table, but not in cross table.
This isn't supported in Spotfire cross tables. However, you can use a graphical table and configure it such that clicking on a cell will navigate to a target url by configuring the "Action" button in the Axes settings so that it will perform an action upon click, and then use a small IronPython script to open the target url in a browser
I think it's not possible in crosstable. As #TWAndrews says, you can use a graphical table and for example, create an icon and perform action on click on this icon. This action could be a link to navigate in the Dashboard, a http:// link, and more other possibilities.
Use a link in a crosstable will work in webplayer and in computer software.

Hide promoted links in sharepoint 2013?

I created a webpage containing various promoted link tiles. This page is my default page (when the user logons he/she is redirectedto this page). Based upon the group to which the user belongs I want to show some specific promoted link tiles and hide the rest of the promoted link tiles.
For example, my webpage contains 4 Promoted Link tiles.
For a normal user I want to show only 2 Promoted Link tiles and hide the rest of the tiles.
Whereas for admin I want to show all the Promoted Link tiles.
Or I thought of having different pages for different groups, but I couldn't find any setting in SharePoint 2013 to have different default pages for different groups.
I'm using both of the solutions listed above on the same site to meet different needs.
I have one Promoted Links list that provides 'activity' links for a number of different user types. In order to keep the user experience simple for users I'm setting permissions on individual items in the Promoted Links list to hide specific tiles/links from groups that don't need to see them.
On the list, you need to break permissions with the site, then change the permissions on the specific tiles you're 'hiding'.
I'm using SharePoint security groups to set permissions.
I'm using a second list to provide additional links on the page, but want to hide some of the links - sort of an active/inactive thing. Rather than adding a new field (which I haven't tested yet) I'm using the Order field as a filter. For example: If Order is less than 100, show them.
You can create the new view either in the browser (the 'Standard View' template will give you a tile view - surprisingly) or use the solution above for adding a view using SharePoint Designer. Either method will allow you to set a filter, sort, etc.
Alternatively, if you want to create another list type view, you can create a new view and use 'All Promoted Links' as a starting point.
You can create different views for different users using SharePoint Designer.
Below are the step by step guides.
Click on any blank region of the Promoted Links. This will show the ribbon for that Promoted Link.
Click List tab on the ribbon.
Click Create View.
Click Custom View in SharePoint Designer
Allow it to open in SharePoint Designer.
Give a name for your view, e.g. Test and click OK. By default, SharePoint designer takes Tiles view.
Close SharePoint designer and go back to your Promoted Links in browser.
Click the List Tab on ribbon.
Select the view you just created from the dropdown menu.
Click Modify View.
You can hide or display any link by giving a suitable condition for filter.
Actually the above thing is not possible in SharePoint.
For every user there will we same page in SharePoint but depending upon the group to which a user belongs we can hide and show a promoted links.
First create some groups and assign user to a particular groups and than change the permission of promoted groups to show/hide that particular group.

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