IMPORTANT: This configuration page replaces the config.json file that was used prior to Sitefinity 14.3. In case you upgrade from a prior version, all supported configurations are automatically migrated to this configuration page and the file is no longer considered. .
{ "newsitems": [ "Author" ]}.
This states that for the newsitems entity set, the Author column, which is hidden by default, is shown as well.
This means that if you have a dynamic module called Country (which entity set will be countries in this case) and then create three modules that are children to Country – River (rivers), Mountain (mountains), City (cities) they are ordered in the Contains column the way they are stated in the configuration.
Date formats:
Time formats:
If the browserLocaleFormatWidth is set to long the formats used in the date and time field will be h:mm:ss a and MMMM d, y, which looks like 9:22:13 am and July 10, 2021. If the browserLocaleFormatWidth is set to medium the formats used in the date and time field are h:mm:ss a and MMM d, y, which looks like 9:22:13 am and Jul 10, 2021. If the browserLocaleFormatWidth is set to short the formats used in the date and time field are h:mm a and M/d/yy, which looks like 9:22 am and 7/10/2021.
That means that there are three predefined types of styles called Primary button, Secondary button, and Success button. These appear in the dropdown in the rich text editor when a link is clicked and then the icon drop is clicked. Selecting one of them will apply the values in the Value collection as a class html attribute values. This means that any CSS file that is loaded both on the front end and back end of the application and that has rules for these classes applies the styling for them. This example contains the bootstrap buttons classes so for them to be visually correct, the bootstrap CSS has to be loaded in the rich text editor only because for the front end of the application it is there by default.
If your project is based on Bootstrap 5 or Minimal resource packages, you can take advantage of the provided npm script for compiling SASS file to one minified CSS file. Perform the following:
Use @import to include all needed SASS files into editor.scss that is located in ~\ResourcePackages\Bootstrap5\assets\src\project\sass\adminapp In our case, we import the main.scss file that is located in the previous folder (this will include the bootstrap css). To do this, simply type @import “../main.scss” and save the file.
Navigate to the ~\ResourcePackages\Bootstrap5 folder open a terminal with administrator rights.
Type npm install - so that you can install the node_modules
Type npm run sass:editor This task will generate editor.min.css file that you can find in folder ~\ResourcePackages\Bootstrap5\assets\dist\css\ Include the editor.min.css file in the configuration for the rich text editor by adding it to the Toolset json object:
[ "newsitems" ]
That means that the entity set names can be listed here. When you navigate to the news grid and click on the actions menu column to list all the actions, the Owner action is shown for news if newsitems is listed in the configuration as shown above.
{"newsitems": ["Content"]}
With this example when you perform a search in the grid, the field that these news items are searched by include the Content field as stated above in the configuration.
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important