DCSIMG
InfoPath 2010 - You have chosen to download a file that may be harmful to your computer. It is important to be certain that the file comes from a trustworthy source. Do you want to continue? - Dudi Nissan's Blog

Dudi Nissan's Blog

SharePoint, MOSS, Silverlight, ASP .Net, .Net, SQL Server, Reporting Services, JQuery, AJAX

Links

SharePoint 2010 Custom Fields

InfoPath 2010 - You have chosen to download a file that may be harmful to your computer. It is important to be certain that the file comes from a trustworthy source. Do you want to continue?

בטופס InfoPath 2010 הכולל Attachment, בלחיצה על הקובץ מצורף, מוצגת הודעה למשתמש:

You have chosen to download a file that may be harmful to your computer. It is important to be certain that the file comes from a trustworthy source. Do you want to continue?



או ההודעה בעברית:
בחרת להוריד קובץ שייתכן שיזיק למחשב שלך. חשוב לוודא שהקובץ מגיע ממקור מהימן. האם ברצונך להמשיך?


במקרה וקיימת דרישה שלמשתמש יתאפשר לבצע Download של הקובץ ללא הצגת חלון האישור הנ"ל, יש לבצע את הדבר הבא:
בקובץ C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\INC\Core.js
יש לשנות את הקוד Javascript

var e=UserMessages_ShowConfirmMessage(IntlCoreStrings.k_strFileAttachmentDownloadPrompt,true);
בצורה הבאה:
var e=true;


מבוסס על המאמר כאן.
הערה: יתכן כי התקנה של Service Pack "תדרוס"/"תאפס" את השינוי לעיל, ויהיה צורך לחזור עליו שנית.

פורסם: Sep 16 2011, 09:50 PM by dudin | with no comments
שלח תגובה

(שדה חובה)  

(שדה חובה)  

(אופציונלי)

(שדה חובה) 

Please add 7 and 8 and type the answer here:


Enter the numbers above: