News


Graph API - Codemodule

Updated: 04.06.2020 09.04.41

Pims R4 Dev have an example code module "api/graphapiauthentication" that will authenticate against the Microsoft Graph API and provide an Access Token that you need in order to integrate against for example the One Drive service. This code module uses the "on behalf of a user" concept. The Micr ...

Read more...

Graph API - Web App

Updated: 04.06.2020 09.02.15

Pims R4 Dev Web App The Web application in Pims R4 Dev with id: msgraphapi uses the Microsoft MSAL library to integrate with Microsoft Graph API. Setup is required On load the app will try to authenticate and show an Office365 Popup to the user, if the user is authenticating against with Pims R4 wit ...

Read more...

Appframe - Universal design

Updated: 03.06.2020 08.16.33

Omega guidelines for design and universal accessibility. This is to be used across all Omega systems. ...

Controls - Date time pickers

Updated: 02.06.2020 11.29.29

Components Appframe Web provides you with a set of components that you can use you easily create more complex UI elements.For Date field, the picked, saved and displayed value always is the same. The day will always be the same no matter the user current time zone. For DateTime field, the picked and ...

Read more...

5. Developer Tools - DB Updater v4

Updated: 02.06.2020 10.32.26

Overview Updater v4, formerly known as Namespace deployer, is available in R4 systems since 22 April 2020. This means that it is possible to subscribe to updates from other databases by subscribing to individual namespaces. Namespace can be applied to these objects in Appframe: ...

Read more...

Data Object - Binding

Updated: 02.06.2020 08.46.08

You connect to your database by creating javascript "data-objects" and marking up your html elements with data-field attributes. In addition you can execute server stored procedures by configuring a clientside "Stored-Procedure" object and execute it from javascript. Data-objects are javascript objec ...

Read more...

Web Scheduling - System Queue

Updated: 01.06.2020 07.59.52

System Queue is a specialized fail safe queue. You insert records into stbl_System_Queue and in turn SystemCallProcessor job will handle the message by calling static .net methods. Since This table is a regular queue table it does not have any views or triggers, so final users will never have access ...

Read more...

Web Scheduling - Jobs

Updated: 01.06.2020 07.59.28

Web Scheduling as it suggests is hosted on web backend. It allows for executing predefined jobs. The easiest way to define your job is using code modules. But you do not need to do that if stored procedure execution is enough for you. You can use Appframe built-in jobs types like SQLProcedure or Queu ...

Read more...

Web - Reusing new person and roles dialog's

Updated: 01.06.2020 05.56.31

You can reuse create new user and roles dialog's in your applications.To integrate system-user-roles into your article insert into your HTML code: @Render("ArticleBody", ID: "system-user-roles") Don't have same data source names, otherwise application will not work as expected: dsUsers, dsRoles, ...

Read more...

6. Setup and configuration - Enabling WCF

Updated: 29.05.2020 07.58.45

To enable WCF as a replacement for .Net remoting in your solution, you need to update web.config of your site and include Appframe.WCFService as http module to be loaded. Update Appframe to the latest version Add <system.serviceModel> configuration to web.config if it ...

Read more...

5. Developer Tools - Database Manager

Updated: 28.05.2020 10.46.23

Database manager is Appframe alternative tool to Microsoft SSMS. It can be accessed by using url: /af-dbmanagerWhen using SSMS make sure you have setting enabled "Prevent saving changes that require the table to be re-created" . Otherwise changes might not be compatible with Updater. Microsoft ...

Read more...

Data Object - Alternative connection

Updated: 28.05.2020 07.16.15

It is possible to setup dataobject to use alternative connection string. It means that you can access data from different servers. You can set alternative connection in appdesigner under dataobject settings.Alternative connection needs to be added to web.config<add name="MMstage" connectionString= ...

Read more...

Controls - File upload

Updated: 26.05.2020 11.08.24

You can deal with files using tables connected to Appframe File Store. File links are manually created using data-attr. A upload context (which sets up drag and drop area) is set using data-upload="uploadContextName". A dedicated upload can be set up using data-upload-target="upload ...

Read more...

Controls - Report launcher

Updated: 19.05.2020 08.54.36

Usedata-report="someReport" to launch report filter control, where you can create custom filter and download report in pdf/xls format. Markups: data-report-title="Report Title" - sets modal title. data-report-filter="Age > 18" - sets default report filter. data-report-launcher="false" ...

Read more...

2. Web - Razor

Updated: 18.05.2020 13.41.15

Razor code can be used inside articles. Razor is processed server side, before article load. Examples: /* Getting site alias context */ var vSiteAliasContext = Appframe365.Web.Context.SiteAliasContext.ForHttpContext(System.Web.HttpContext.Current); /* Getting Article context */ ...

Read more...

Progressive web apps - Offline apps

Updated: 18.05.2020 11.08.30

Offline app Beside offline assets which are served from cache by service worker, service worker can use IndexDB to serve and store data objects contents. We are using network first strategy for data and if network is not available, it will try to serve data from IndexDB. There are some things, which ...

Read more...

Web - HTML from database

Updated: 15.05.2020 10.11.53

Example of safe and not safe way to generate dynamic contentTo prevent XSS injections developers should be aware how to treat data safely. Default Appframe functionality should be always safe, but always not to forget to double check. Also pay attention when implementing something custom. @Rende ...

Read more...

4. Flutter - 5. Widgets

Updated: 14.05.2020 11.51.54

Date Picker Loading Indicator ...

Read more...

4. Flutter - 4. Developer Tools

Updated: 14.05.2020 11.07.28

Developer tools documentations to aid the in the mobile development workflow. ...

Graph API - Setup

Updated: 12.05.2020 09.27.43

When you have a code module that will interact with Microsoft Graph API you need to register an application in Microsoft Azure AD, set permissions and choose if the integration should be "on behalf of a user" or by then end user logged in to Pims (requires that the end user in Pims is authentication ...

Read more...

1. Appframe Updates - Release Notes

Updated: 06.05.2020 21.12.53

Overview An overview of changes to a specific release can be found here: Issue Tracker Use the Milestone column to filter out items related to a specific release. Appframe milestones are named by year and week number "AF YY.WW" ie. "AF 20.17" Release SummaryApril 2020OWASP vulnerability i ...

Read more...