문제

enter image description here

As shown in figure I want to add button (right side by send by mail) on each CommandBar in SharePoint site?

도움이 되었습니까?

해결책

You can insert some code into React script editor web part to append the custom button.

<script src="https://code.jquery.com/jquery-1.12.4.min.js" type="text/javascript"></script>
<script type="text/javascript">
        $(document).ready(function () {
        var commandset= $("button[name='Send by email'][role='menuitem']").parent().parent();
        commandset.append( "<p>Test</p>" );
});

enter image description here

다른 팁

You should use a SharePoint Framework Extension to do this.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top