-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose Teams context from SPFx #414
Comments
yep, i like to have that as well 👍 |
Having issues with files from Document Libraries in Teams. Update: |
I'll most likely change the logic on how the open links look for the next version. |
Thanks for the reply and for the AWESOME job you're doing! |
@paalolav Made the change now - thanks for reminding me. pnp-modern-search/search-parts/src/services/TemplateService/BaseTemplateService.tsx Lines 187 to 189 in 22bcdf0
|
Curious as to the scenario where a user can access a file, but not view it in the ODSP previewer? And did not think about this. I would rather add an option to the |
@wobba I made this change because Details list does not give you the option to change the template underneath (pnp-details-list/pnp-details-list). For other templates, I directly used the Path column instead in custom template. We are sharing our SharePoint site with external users and SharePoint shows a share button on top and all the external users can see other external users by clicking on Shared With tab. We do not want external users to see each other so, we had to restrict access to application pages (not a good way but need to wait for Microsoft). |
@sagar2610 You can pick Details List, then click the {} to customize and it will copy that template over as a basis. Which is why I'd rather extend the helper. |
It does not give me an option to modify the underlying URL behaviour. |
Right, cause it's inside the details component which calls:
I would then extend the component to have this as a setting and pass it down to |
Exactly, just to get around it, I added some extra code. But you are right, extending the templates is the best idea. I am not good with handlebars so I took the hard way. Thanks a lot for your help. |
Could you log a separate issue on this as an improvement? I might take a stab at it as it should be fairly easy to get in. |
Here you go @wobba #464 (comment) |
Teams support and context added |
Ensure search web part can work inside a teams tab and expose teams context as needed.
The text was updated successfully, but these errors were encountered: