on 2016 Dec 07 12:25 PM
I have created a List Report application from Fiori elements smart template with local annotations. Then I added a custom button for the table with UI.DataFieldForAction annotation.
Requirement is to get user confirmation before executing the action on the table item.
Any suggestions how do I add a confirmation popup on the new button "Notify customer"?
Annotation for the button:
<Annotations Target="NorthwindModel.Customer">
<Annotation Term="UI.LineItem">
<Collection>
..
<Record Type="UI.DataFieldForAction">
<Annotation Term="UI.InvocationGrouping" EnumMember="UI.OperationGroupingType/ChangeSet"/>
<PropertyValue Property="Label" String="Notify customer"/>
<PropertyValue Property="Action" String="NorthwindModel/CustomerNotify"/>
</Record>
</Collection>
</Annotation>
..
</Annotations>
Full code of the WEB IDE project is here https://github.com/oanete/ztest
Regards,
Anete
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi,
I have the same requirement .. I have defined my action in a BOPF and then used the CDS view annotation to render it in the UI, I'd like to have a popup to confirm the action.
Can this be done with CDS annotations or does it have to be done in the WEBIDE?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you find any solution to this Neil? Is it possible?
Working on similar requirement.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.