문제

I made an Infopath form that has two views, Edit and Print, and published it to SharePoint.

The issue is that as you type a new entry, you can switch to the print view allowing you to print without the need to save the data into SharePoint.

I want to disable that, and I want the print view to be accessed only when Viewing an item from the list.

도움이 되었습니까?

해결책

Create a dummy/hidden field. This field has a default value of 0. When a form is submitted, set this to 1. Now put a rule on form on load. The rule is that when dummy field is 1, the button is enabled and you can switch to Print view. The button is disabled when dummy field is 0 because the form is not yet submitted and preventing the user to get to Print View.

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