Обнаружение посещения первого сайта - SharePoint 2013

sharepoint.stackexchange https://sharepoint.stackexchange.com//questions/65680

  •  10-12-2019
  •  | 
  •  

Вопрос

Я хочу сделать приложение, которое будет по существу дать новым пользователям моему порталу SharePoint 2013 небольшим «управляемым» туром по системе и некоторые из его ключевых функций.

Как бы вы пойдете обнаружить первоначальный доступ пользователей на страницу?В настоящее время я думаю о установке печенья, но хотел посмотреть, какие идеи люди сделали это.

Спасибо!

Это было полезно?

Решение

For me, I would have the values stored on a list or in a SQL table that would have a column to check against! It can contain a simple bool yes for been here before and no for new user!

When the use logs in it checks up against the list or SQL table, depending on the value will determin wether they see an intro or not!

For me I would go with SQL and a custom stored procedure returning true or false from the column, its faster and not that taxing on resources!

Simple and easy ;).... im sure there are other ways like through AD (active directory) check the flag if "change password at next logon" is checked. If checked then show the intro if its not checked than dont ;)

there you go three ways! i would still go with SQL but AD is a good contender (no need to add an extra value/table/column) and no calls to DB but its easier to develop!

Другие советы

I would recommend two options:

  1. Leverage the User Profile of the user to track first visits as long as you don't want to present the user with the guided tour everytime they hit the site on a new device (desktop vs tablet)

  2. You can use also use cookies in combination with the user profile tracking. If the user has already gone through the tour on one device and the user profile Boolean is set, but a cookie has not also been written on the new device, you can offer the guided tour with a more subtle option to the user (e.g. "Would you like to take the tour again on your new device?"

I second the idea of leveraging the User Profile service. Just add a custom property that sets a flag indicating whether or not they've visited the site before.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с sharepoint.stackexchange
scroll top