cancel
Showing results for 
Search instead for 
Did you mean: 

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

draschke
Active Contributor
0 Kudos

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?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
<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.

draschke
Active Contributor
0 Kudos

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...."

draschke
Active Contributor
0 Kudos

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.

Former Member

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