Pages and Landing Pages
Content management service that allows you to create and manage pages and landing pages.
Pages are places where the user can add components and organize the view. When managing a page, it is possible to decide between widgets, analytics, URLs and tabs components, for different sizes and alignments.
Landing pages are a set of pages displayed within the senior X Platform, on its main page, related to different roles and users. This way, users from the same company can view different landing pages. If you use a personalized landing page, it will appear after all pages registered by the administrator, whether by paper or standard. For this type, in paper management, permission is requiredPersonalize to the resource res://senior.com.br/platform/cms/page.
Important
When the optionCredentials (withCredentials) is selected, the corresponding screen will display the message "If checked, your access token will be exposed to third-party solutions. Make sure the components/sites are trustworthy.", to inform the customer that the token will be passed to this screen for security reasons.
Page permissions(res://senior.com.br/custom/page//minha-pagina) and widget (res://senior.com.br/custom/analytic/meu-widget) are not automatically assigned to the admin so as not to compromise this user's view.
What do you need to do:
To create your own pages and view landing pages with analytics for any user, some permissions are required:
- Access Technology > Administration > Authorization > Paper Management;
- click inTo edit on the paper that will have permission;
- Under Permissions, clickResource and determine the following actions for each resource;
- To create your own pages:
- To
- view :re
- s
- res://<tenant-domain>/custom/analytic/<analytic-id>
- To
- To view landing pages with analytics, for any user (onlyTo view):
- res://seni or.com.br/
- pl
- Go to Technology > Customization > Pages > New page;
- After entering the name of the page, determine its positioning:
- Absolute: the line height will be pre-defined, each unit a fixed pixel value;
- Relative : the height of the line will be relative. In other words, 12 height units will be equal to 100% of the screen height.
- Add the components to the page. To resize, click on its border and drag;
- click inTo view to validate the layout and components inserted on the page;
- After finishing, clickTo save.
Editing and deleting a page must be done in Technology > Customization > Pages > Manage.
click inTo edit on the created page, make the necessary changes and clickTo save, or, to delete, click Delete.
- Go to Technology > Customization > Pages > Landing Pages;
- click inNew, report a
- Tit
- le for identification and determine its type:
- Standard: will only be displayed if no shared page is found for the user;
- Determines the page that will be displayed on this landing page;
- To display a header, checkInclude title bar;
- click inTo save.
- Go to Technology > Customization > Pages > Landing Pages;
- Landing pages are displayed in two tabs:
- Te
- nant: landing pages created by tenant users;
Important
To access the list of all tenant shared landing pages, you must have viewing access to the resourceres://senior.com.br/platform/cms/landing_pages_list_all
Users who do not have access to the full view feature will only have the shared landing pages for the roles to which they are linked in the list.
To determine the display order of the created landing pages, simply click on one from the list presented in Technology > Customization > Pages > Landing Pages, and drag it to the desired position. click inSave ordering to confirm the change.
By default, a new landing page is added at the end. And the categories cannot have their ordering changed.
Creating the Social page
Access"Senior X > Technology > Customization > Pages > New Page"
- Enter page name
- Set positioning to “Absolute”
- Click on “+Component”
- Go to the “URL” tab and enter the following URL: "https://platform.senior.com.br/tecnologia/platform/social/#!/home"
- Click “Select”
- Expand the inserted component to full screen by clicking on the icon
- Finish by clicking “Save”.
Creating the Landing Page with the new Social page
AccessSenior X > Technology > Customization > Pages > Landing Pages
- Click on the “New” button
- Enter the Landing Page title
- “Page Source” will be “Tenant”
- Set the “Type” to “Default”
- Select the newly created Social page
- To finish, click “Save”.
Okay, returning to the home page, Social will now be available.
Editing and deleting a landing page must be done in Technology > Customization > Pages > Manage.
click inTo edit On the created landing page, make the necessary changes and clickTo save, or, to delete, click Delete.
Important
For a website to be displayed as a landing page it is necessary:
- be a secure website (HTTPS protocol);
- accept being called from another website;
- preferably be responsive, as depending on the layout chosen, its display area may be reduced or disproportionate.
Global Filter
The Global Filter allows you to create a single filter and apply it to all analytics on a given page. In cms-service, the filter type is defined by the CharType namedfilter, allowing the page to know how to correctly identify and render the corresponding component for this new type.
Just like widgets/analytics, the Global Filter uses the same mechanism to add filter expressions.
Its difference from widget filters is that it groups the filters for each widget on the page in a single location. When adding new expressions and applying by clickingFilter, the filter will be carried out in all analytics where the expressions have some data with the same name as the applied filter. The "name" of the filter is made up of View.column. This is the way in which the Global Filter identifies which analytics it should be applied to.
When you delete an expression from the Global Filter and apply the filter again, it will be deleted from all filters to which they were applied.
You must create the filter when creating or updating the reporting base of a tenant that will run it. The cms-service starts listening to the DatabaseChanged event emitted by the report-database, and if there is no analytic of the type in the cmsfilter, a new one will be created for the tenant.
The filter, when created automatically, has permission for tenant viewing only. This way, there is no impediment for the tenant to use this component on the pages, as it is not possible to register or modify an analytic with the filter type, which is the exclusive responsibility of the routine that listens to the report-database event.
After updating the Report Base, edit or create a page that you want to have the Global Filter at the top of all analytics.
- Access Technology > Customization > Pages > New Page;
- In the Components section, click the buttonComponent;
- Select the tabAnalytics, and search forfilter to filter the options (an analytics of the Global Filter type with similar URI should be displayed:analytic://factory/<tenant>/filter);
- Select the component, it will be displayed at the top of the Components view;
- click inTo save.
Observation
If you have the management panel, you will find a practical example of customization in the system documentation.HCM about landing pages.






