Forum Replies Created
-
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 8 months ago in reply to: Display of images #34512::Hi Mani,
In general: when transitioning to the detail page, you have to map the clicked image data to the property ‘src’ of the image on the detail page.
An example of displaying the details of a selected list item is shown in the Intermediate Course, Module 4, Lesson 2: https://community.simplifier.io/203-2/
The data of the selected item is fetched via Client-Side Business Object, and then mapped to the image in the detail dialog.
However, it also depends on how you have bound the machine data on your overview page to the list (via Data Source or Global Variable). These different binding contexts are explained in the Advanced Course on Client-Side Business Objects, Module 7, Lesson 1: https://community.simplifier.io/binding-contexts/
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 7 months ago in reply to: Create app after import #34553::Hi Leonid,
When transporting an app from one Simplifier instance to another, the app should be created automatically on the target instance if the transport process does not encounter any errors.
So, I assume that you have created a transport package on the source instance that includes the application that you want to transport, right?
When you import it to the target instance, are there any errors in the import protocol?
Are the Simplifier versions of both instances identical or are there version differences?
Are you able to transport other artifacts (like Business Objects/Connectors/Widgets/other Applications)?Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 7 months ago in reply to: Repeatable Statement to insert a collection in a database #34691::Hey Patrick,
Your statement seems to be fine. Maybe there’s a bug in the Simplifier version that you are using, but unfortunately, we do not support Simplifier 6.0 anymore, so there won’t be any fixes for this issue.
Is the parameter collection also empty when you are using the connector call in the Process Designer and map an input collection to the input parameter?
In general, please consider upgrading to a more recent version, so you are up to date with all the features and bug fixes.
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 7 months ago in reply to: How to properly make use of io.simplifier.widgets.m.Table_withAdd_1_71 #34693::Hi Alex,
The Table_withAdd still works with the ‘old’ way of binding data, meaning that you have two options:
- define the data structure in the property ‘items’ and map the data to the table’s items aggregation in the Process Designer
- if the data is stored in a Global Variable: define the path to the Global Variable in the property ‘Items Path’
However, we strongly recommend to not use the Table_withAdd, since it will be removed in new versions of our Standard Content.
Instead, use the Table_withSearch widget, or use the wizard ‘Table with Details’. Both options are more convenient ways to create a table. Let me know if you have any further questions.
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 7 months ago in reply to: Repeatable Statement to insert a collection in a database #34953::Hi Patrick,
Good to hear that the update has fixed your issue!
Regarding the runtime exception: have you added the connector to the list of artefacts that the business objects has access to (select the business object in the list, click on the edit button, add the connector at the left side of the screen)? Otherwise, the business object cannot execute the connector calls, for security reasons.
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 7 months ago in reply to: How to setup and acess user groups and roles? #34993::Hi Fabian,
We do not have a ‘one-fits-all’ type of solution for user management, because it highly depends on the individual scenario, but here a few suggestions:
- In general, we recommend organizing your applications/roles/users on your Simplifier instance within projects. In projects, you can define roles for design time (project roles), which are assigned to users that should work on or test the applications inside the project, as well as roles for runtime (business roles), that are assigned to the end users of the apps.
- We recommend to assign project roles and business roles via groups. So in a project, you can create groups and assign specific roles to these groups. When a new user joins the project and is added to the group, they automatically get all the roles from the group.
- In your case, I think there are two options: 1) Create one project for your application. Create a group for each agency X, and assign the role ‘user_agencyX’ to the group. For admin users, manually assign the role ‘admin_agencyX’ additionally. 2) Create a project with your application for each agency, then create a group with the role ‘user’ for all normal users, and a group with the role ‘admin’ for all admin users
- To filter the data, you also have options: 1) When using connector calls in the Process Designer, you can use the connector filter. In the filter UI, you can define specifications on how the data should be filtered (e.g., show only data where name = ‘xyz’). Also, you can configure that the filter specifications are only valid for specific roles (e.g., only if the user has the role ‘user’, the filter is applied). 2) With the server-side business object User API, you can check which business roles the currently logged in user has or if the user is assigned to a specific project. You can use this information as input for your backend system, to filter the data accordingly.
Here are some links to our documentation, for further reading:
- Roles and Rights (how to work with projects): https://community.simplifier.io/doc/operators-guide/roles-and-rights/
- Connector Filters: https://community.simplifier.io/doc/current-release/applications/process-dashboard-and-designer/data-objects/filters-for-connectors/
- Server-Side Business Object API (User API): https://community.simplifier.io/doc/current-release/applications/business-objects/create-business-objects/business-object-api/#1595935924487-1b934132-c392
I hope this information is helpful for your use case. Let me know if you have further questions.
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 6 months ago in reply to: PDF PageSize #35067::Hi Satish,
To display page numbers, add the following to your PDF config object:
"footer-center": "[page] / [toPage]"
This will display the current page number as well as the total page number in the footer section.
We have added the description for PDF configuration options to this knowledge base article: https://community.simplifier.io/knowledge/generating-a-pdf-with-simplifier-via-plugin/
and to the PDF Example App on the marketplace: https://community.simplifier.io/downloads/pdf-generation/
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 6 months ago in reply to: How to access files in a BO? #35075::Sure, here is the link to the Standard Content transport for Simplifier 6.5/7.0: https://community.simplifier.io/downloads/standard-content/
And here for Simplifier 7.1: https://community.simplifier.io/downloads/standard-content-7-1/
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 6 months ago in reply to: PDF text is truncated before new Page #35215::Hi Vasileios,
You can prevent your table being truncated by a page break by adding the following code to the CSS section:
table, tr, td, th, tbody, thead, tfoot{ page-break-inside: avoid !important; }
See the FAQ section of this knowledge base article: https://community.simplifier.io/knowledge/create-a-pdf-template-via-plugin/
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 6 months ago in reply to: Sending Binary data or File on Connector #35246::Hi Vasileios,
Can you specify in more detail what is expected by this API call? What are the parameters, of which type, etc.
If the API expects data of type ‘multipart’, you unfortunately cannot use the Simplifier REST connector, as multipart is not yet supported. You can read about that in this forum post: https://community.simplifier.io/forums/topic/file-object-not-showing-in-postbody-of-rest-connector/
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 5 months ago in reply to: Getting the Service URL of connector on client side #35265::Unfortunately, we do not have an open and stable API call to read a connector’s endpoint at the moment.
What I suggest in your use case:
- Write a Server-Side Business Object (SSBO) function that reads the current instance (as configured in the server environment settings)
- In this function, use the SSBO System API to achieve get the active instance:
Simplifier.System.getActiveInstance()
(documentation). The returned object includes the type of the instance: Custom, Develop, Quality, Production - Based on this type, return the respective endpoint URL.
You can find an example of using the SSBO System API in this video of the Advanced Course on SSBOs: https://community.simplifier.io/system-api/ - In your client-side calls, use this SSBO function to fetch the endpoint URL depending on the active instance. Then, use the retrieved URL in the further process
This way, you only have to define the required endpoint URLs once in a SSBO function. I hope this approach is suitable for your use case.
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 5 months ago in reply to: PDF text is truncated before new Page #35283::Hi Satish,
When creating a PDF template, there is a tab called ‘Header’. Here, you can insert the HTML for your header, with the restriction that before the HTML, ‘<!DOCTYPE html>’ has to be inserted.
For example:
<!DOCTYPE html> <span>This is the header!</span>
You can also find the information here, under the section 2.2.2 Header/Footer: https://community.simplifier.io/knowledge/create-a-pdf-template-via-plugin/
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 5 months ago in reply to: Reset a screen #35411::Another way to reset screens is to implement them as modules and then loading these modules in your app. When unloading the module and then loading it again, all elements will be re-initialized and therefore reset.
You can find more about modules here:
- Documentation: https://community.simplifier.io/doc/current-release/applications/modularize-your-apps/
- Advanced Course on Debugging (Create a Module): https://community.simplifier.io/browser-debugging-tools-debugging-modules-creating-a-module/
- Advanced Course on Debugging (Load a Module): https://community.simplifier.io/browser-debugging-tools-debugging-modules-integrating-the-module/
Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 5 months ago in reply to: PDF: Set page number dynamically using footer section #35416::If you want to add HTML to the header, you need to implement a workaround and also adapt the footer, unfortunately. Follow these steps to add an HTML header AND a page indicator in the footer:
- Create two HTML files: one for the header, one for the footer
- I have attached examples for both HTML files. The footer HTML file shows the page numbers. Adapt the header HTML file to your liking
- Upload both HTML files inside your application (in the section ‘Assets’)
- Adapt your PDF config object, so that you use the parameters ‘header-html’/’footer-html’ instead of ‘header-center’/’footer-center’. In these parameters, you need to specifiy the path to the location where the HTML files are stored on the appserver. For example, in my case, my app is called ‘test_JH’, so the paths are like that:
{ "header-html": "/opt/simplifier/data/storage/appDirect/test_JH/data/header.html", "footer-html": "/opt/simplifier/data/storage/appDirect/test_JH/data/footer.html" }
Caution, the paths may vary depending on your instance setup. You can ask an administrator to get you the correct paths if you do not have access to the server.
- Deploy your app and test the PDF. You should now see the PDF file with the header/footer HTML
I know this process is quite cumbersome. I have created a ticket so that hopefully in the future, the PDF config and the header section can be used together.
Attachments:
You must be logged in to view attached files.Jennifer Häfner
ModeratorHas successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
2 years, 5 months ago in reply to: PDF: Set the element fixed at bottom of the first page #35667::Hi Satish,
I see two options here:
1) Add the table header to your header section and remove it from the body (you might have to add an additional margin to the body so that nothing overlaps)
2) Use the HTML tag ‘thead’, which automatically repeats a table header on every page: https://www.w3schools.com/tags/tag_thead.asp