Edit Bonita BPM portal - refresh

I'm new in Bonita and I've a question to do.
I need to edit the Bonita BPM portal page and refresh it every x minutes.
How can I do it?

Bonitasoft's most recent release provides a brand new UI environment based on Angular technology that should be able to meet your needs.
Take a look at this "sneak peek" from this year's BPMNext conference:
http://www.bonitasoft.com/for-you-to-read/blog/bonita-bpm-7-first-peek-ui-designer-bpmnext

Tasks list available by default in Bonita BPM Portal cannot be easily custom except if you are familiar with GWT. In such situation you might want to dig into Portal source code.
As suggest by Greg Harley you can take a look at Bonita BPM 7 (if upgrading become an option). Version 7 bring the "custom pages" extensions point that allow you to embed new pages in Bonita BPM Portal. Such pages can make use of exact same REST API as the default tasks list. You can use Bonita BPM UI designer to create your custom page. UI designer allow to create custom widgets and so you can create a new widget that can take care of auto-refresh.
Remember that refreshing user tasks list trigger some call to Bonita BPM Engine and so to the database. So make sure that your server is sized appropriately.

Related

How to measure the total amount of time my React Native app gets used

I am about to launch a beta version for my react native application, and I want to get information on how much time users stay on my app, and actually use it, how frequently they enter it etc. That would help giving me feedback. Also could be useful to know which pages get used the most. Is there such a thing that exists for that?
You may use analytics in your project. Google Firebase provides analytics. But I use Appcenter Analytics for my app. You can add custom events as well to track which page the user has opened or to find whether the button was clicked by user. Here is a screenshot from Appcenter dashboard.

Sitecore DMS + OOB ways to track social share

Is there any OOB way to track the Social Share thru Fb, LinkedIn and Twitter.
We are not using the default social share rendering provided by Sitecore. These are normal links with JS code to share on fb,twitter etc..
Please guide.
An ootb way is not available but it can be done rather easily with some custom code. I wrote a blog post about integrating the AddThis component with xDB a while ago.
It's a combination of some javascript (you'll need to adapt this to your social share solution, but it's actually nothing more than making a call when sharing) and a controller. The controller will trigger the actual goal (or event...) you want. The blog has code for Sitecore 8.1 - this might differ for other versions (don't know your version). In a 8 environment, you need this:
We try to find the goal (Sitecore item) based on the post parameter.
If found, we use that data to register a PageEvent to the PreviousPage
of the current Tracker. We end by 'saving' the changes and cancelling
the current request

Facebook API for custom feelings/activity

I was searching in the Facebook API documentation, but I can't find what I am looking for. So, what I am looking for is is there an API for creating your custom DO action. For example:
John Johson is riding a bike.
What I want is to send this 'riding' as a custom word coming from my app. And also 'bike' as a custom item as well.
The other example I can think about is the running apps in Facebook. When you start to run and connect the app with your Facebook the app can say.
John Johson is running using Runtastic.
Thanks!
Well, you’re a little too late on that one.
That used to be possible, it was called Custom Open Graph Actions - https://developers.facebook.com/docs/sharing/opengraph/custom
But those are now deprecated, you can not use them any more in new apps (and for existing ones, they will be removed within a year as well), see https://developers.facebook.com/docs/sharing/opengraph/custom-open-graph-deprecation
Now you can only use the built-in actions and objects, https://developers.facebook.com/docs/reference/opengraph

Navigate to the timeline (to the card with bundleId) from within an application

I have a Glass application that is activated by a voice command. The user requests a product and the request is then passed on to a node.js server, which handles the bulk logic of my application. When the node server is done, it builds some HTML templates that it passes on to the Mirror API, which then puts those cards into the timeline of the Glass app.
Now the problem I have is this:
When a user requests something from within the application, he just stays within that application but the cards from the Mirror API are put onto the timeline.
Is it possible to navigate the user from within the application to the timeline item that has just been inserted?
As I build the Mirror API timeline item, I know ahead of time what the bundleId will be on the timeline, so can I use that somehow to navigate to that item on the timeline?
I've had a look here on Stackoverflow, the Glass forums and the official documentation and couldn't see anything that would help.. Anybody here have any ideas?
Currently the only way for forcing a specific card to show in the timeline is by using a LiveCard (https://developers.google.com/glass/develop/gdk/reference/com/google/android/glass/timeline/LiveCard). Live cards will automatically be given focus when published and you can force the timeline to give your card focus after publishing by calling LiveCard.navigate().
So unfortunately unless you want to change some of the fundamentals of your app, this isn't going to be much help.
Though from the sounds of it, you may be able to use a LiveCard to show what is returned from your server. If you want to perform inserts via the mirror API, this could still be done in addition.

Facebook communication to Application

The start-up i currently work for is oriented around restaurant wait times. For our v1.25 specifications our clients -restaurants- that have Facebook pages want to be able to communicate to their app profile from their Facebook page.
The closest i have came to answering this question is the Graph API. However, the Graph API only allows us to read and write data to FB pages. So, is there a way for a restaurants FB page to write to its app profile? Secondly, Loso, whom we have modeled some of our designs from has this ability, does anyone have an idea as to how they have done it?
--Boris M.
Here is an option that you can consider...
When you are designing the app you can also develop a page tab to go with it...
You will find this option in the basic settings of the app.
You can make it to install for all first time users of your app, by getting a list of all his pages he created using that profile then install it on the one he selects.
This page tab when installed on a page will appears just where other tabs on the page appers(e.g. events, notes etc. occurs)
You can provide your required functionality on this tab as you like.
Thus the user can just select that tab on the page and use its functionality to post on the profile page of the app.
Hope this works for you... and also u can check out the jobcaster app it does something like that!