JSlink و Office 365: لا أرى نوع المحتوى "قالب عرض JavaScript" عند إضافة ملف JS
-
10-12-2019 - |
سؤال
أنا أستخدم SharePoint Online 2013. أحاول اتباع بعض JSLink تعليمي لإظهار المؤشرات في بعض الأعمدة على قائمة مخصصة.أنا عالق في الخطوة حيث أحتاج إلى تحميل وتعيين ملف ".js" في معرض الصفحة الرئيسية.لا أرى نوع المحتوى "قالب عرض JavaScript".هل لأنني أستخدم SP على الإنترنت (Office 365)؟هل أحتاج إلى إضافة دليل CT هذا؟أم أنها بعض الميزات التي أحتاج إلى تمكينها؟
href="http://www.abhishan.com/create-project-dashboard-with-sharepoint-js-link/" rel="nofollow"> http://www.abhishan.com/ إنشاء لوحة معلومات - مع SharePoint-2013-JS-LINK /
المحلول
Not sure whether it should be available in O365 or not. However, you can check if it exists in Site Content Types. If it is available there, you can add it to Master page gallery List content type.
نصائح أخرى
You need to add to the Master page gallery content types
Click on Library settings-->Advanced settings-->Check Allow management of content types
Now you upload the .js file or edit the the item, you should able to see the Java Script Display template content type in drop down.