سؤال

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