Skip to main content

App Feed

An App Feed is a feature that allows to display custom information generated and provided by Apps in ProconTEL 4 web application.

info

App Feed feature is available starting from 4.0.0-alpha.11 onwards

Sending App Feed payload​

AppFeedBus in bundled into toolkit provided by ProconTEL 4. In order to use it just inject IAppFeedBus into a service and then use SendAsync<T>(T payload) method. It's possible to pass objects, they will be serialized to JSON by default.

Below code presents sample code:

public class AppFeedProducingService : IAppFeedProducingService
{
private IAppFeedBus _appFeedBus;

public AppFeedProducingService(IAppFeedBus appFeedBus)
{
_appFeedBus = appFeedBus;
}

public async Task CreateNewAppFeedAsync(string payload)
{
await _appFeedBus.SendAsync(payload);
}
}

Displaying App Feed payload​

In order to see most recently received click on App tile in a Workspace. It will be refreshed in a real time. If App is not running, most recent historical entry will be displayed.

Sample App Feed are presented as follows:

tip

App feed historic entries are available even when app feed interface has been removed from client application