Opening an Page from a widget, and refreshing Parent
0
Hello Community, I'm faced with an interesting challenge, my client wants formB (dataview entity-entityB) displayed by an action from a mywidgetA on formA (dataview entity - entityA), on saving contents of formB (entityB), mywidgetA on formA should refresh with new contents added from formB. This seemed a simple task 1.I call a microflow from mywidgetA on formA, which passes entityB into formB, 2. On saving entityB (on formB), I retrieve entityA and re-fresh it. expecting a fresh on formA (entityA) However this doesn't cause a refresh of mywidgetA's contents on formA.
asked
Derrick Kwagala
2 answers
0
Did you try calling the CommunityCommons refreshClassbyObject in your microflow?
answered
Nolan Ramsey
0
I had missed subscriptions.
var objectHandle = this.subscribe({
guid: this._contextObj.getGuid(),
callback: dojoLang.hitch(this, function (guid) {
this._updateRendering();
})
});