質問

The user sees this message when they "Reset Page Content":

You are about to reset all personalized Web Parts to their shared values and delete any private Web Parts. Click OK to complete this operation. Click Cancel to keep your personalized Web Part settings and private Web Parts.

How can I customize this?

Ideally via Javascript, but I'll take a server-side customization if that's necessary.

役に立ちましたか?

解決

Add a content editor webpart to page with the following script:

<script type="text/javascript">
function ReplaceText()
{
    MSOStrings.ResetPagePersonalizationDialogText = 'Custom Message';
}

_spBodyOnLoadFunctionNames.push('ReplaceText');
</script>
ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top