Skip to Content
0

Are the types of "semantic:DetailPage" limited: i.e. type: "sendEmailAction"

Jan 26, 2017 at 08:06 AM

106

avatar image

Hi,

I try to use more than one sendEmailActions but it doesn't work. I'm able to use one sendEmailAction, but not more.

I couldn't find any hint in the documentation that the quantity of this action is limited.

<semantic:sendEmailAction> <semantic:SendEmailAction id="shareEmail" press="onShareEmailPress"/> </semantic:sendEmailAction>

Any ideas?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Jan 26, 2017 at 11:09 AM
1

You can add another button using customFooterContent if the above doesn't work for multiples.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 26, 2017 at 12:30 PM
1
<semantic:sendEmailAction>
	    <semantic:SendEmailAction/>
	</semantic:sendEmailAction>
	<semantic:customFooterContent>
	    <Button icon="sap-icon://email"/>
	</semantic:customFooterContent>

Here you have a send email button with semantic meaning SendEmailAciton and a custom one that looks the same from users perspective but using custom footer content in the view code.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

I tried it before, but got an error.

"Element sap.m.semantic.SendEmailAction#__component0---detail--idIssuePress" is not valid for aggregation "content" of Element sap.m.OverflowToolbar...."

0

Thanks, but the goal is, that I have two email actions in this popup.

If I try your sample than it will stay beside this popup.

kacheln.png (3.4 kB)
0