MastekApps / FaqPage

FAQ Page is a SharePoint hosted app that allows you to display frequently asked questions and answers on your SharePoint site
https://store.office.com/faq-page-WA104379252.aspx?assetid=WA104379252
6 stars 8 forks source link

Can you link to a FAQ on another site collection #24

Open sasrsc opened 4 years ago

sasrsc commented 4 years ago

We manage 4 site collections and we want to avoid duplication. Is there a way to link to a faq in another site collection?

s-KaiNet commented 4 years ago

No, it's not possible to link.

MellowYellow85 commented 4 years ago

Is it possible to find the underlying list to use a workflow or powerautomate flow to sync lists on different sites?

Also, this is amazing. Lifesaver! Thank you!

s-KaiNet commented 4 years ago

Yes, simply go to FAQ Page start screen, then change the url to /Lists/Faq

sasrsc commented 4 years ago

That would be awesome…

Richard S. Clowes

sasrsc commented 4 years ago

I had a follow up question to this...I'm a citizen developer so please forgive the dumb question...but does the list live in our tenant (noted in the graphic as blurred out office365.com or that hash value afterwards. What does that hash value mean? Is it a re-direct to another tenant (ending in 7b8)?

image

sasrsc commented 4 years ago

I have tried @MellowYellow85 suggestion of the Power Automate routine but I don't see the "lists"

I can see all my FAQ sets (as lists) here by editing the URL like you suggested... image

But when I try a Power Automate, it trims the custom value ... as I paste in the value above it removes the /Lists/Faq and leaves me with FAQPage and all it finds are a "documents" library and not any of the lists.

image

I'm sure it's something very simple and maybe it has to do with the tenant name from ournameSASOffice365 to ournameSASOffice365-hash value?

s-KaiNet commented 4 years ago

In the site address field try to provide your real tenant address. For example, on your screen, you have https://organization-Office365-243b434j234.sharepoint.com/sites/travel/etc... Change the left part to the root url of your tenant, so it should look like https://organization-Office365.sharepoint.com/sites/travel/etc.. (without these ugly -243b434j234 part).

sasrsc commented 4 years ago

When I do that... I can only get as far as adding /FAQPage. If I add anything beyond that such as /FAQPage/Lists/Faq it will trim it ...

image

s-KaiNet commented 4 years ago

This is how it looks like for me. Maybe you just need GetItms action?

image

sasrsc commented 4 years ago

I was doing a stupid user thing. I was assuming I would have to state the specific FAQ set name. You don’t. Of course the response is very long but at least this gives me access to the lists and all the questions.

image

image

What I’m not clear about is how I would add an item to an existing FAQ set through the standard Power Automate action item. Each of these questions is associated with a FAQ set which in Sharepoint is a folder. How would I specifically state this needs to be in this FAQ sets vs. a different FAQ set? It doesn’t seem like the Content Type id changes???

"{Path}": "Lists/Faq/Credit Card Questions/", "{FullPath}": "Lists/Faq/Credit Card Questions/33_.000", "{ContentType}": { "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedContentType", "Id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx4608165C", "Name": "Item" },

[cid:image007.png@01D688CD.24EDB640]

Richard S. Clowes Senior Director | Travel Operations | Corporate Services Division​​ Tel: 919-531-7955 (work) | 919-413-3084 (cell) | [cid:image002.png@01D688CB.1886E2C0] https://teams.microsoft.com/l/chat/0/0?users=Richard.Clowes@sas.com Email: Richard.Clowes@sas.com SAS Institute Inc. | 100 SAS Campus Drive | Cary, NC 27513​​ www.sas.comhttp://www.sas.com/ ​​[cid:image003.jpg@01D688CB.1886E2C0] ​

From: Sergei Sergeev notifications@github.com Sent: Friday, September 11, 2020 8:39 AM To: MastekApps/FaqPage FaqPage@noreply.github.com Cc: Richard Clowes Richard.Clowes@sas.com; Author author@noreply.github.com Subject: Re: [MastekApps/FaqPage] Can you link to a FAQ on another site collection (#24)

EXTERNAL

This is how it looks like for me. Maybe you just need GetItms action?

[image]https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F10658276%2F92926437-ac117480-f444-11ea-8734-fdf3588f8baf.png&data=02%7C01%7Crichard.clowes%40sas.com%7Ce8ac1a8d600547d6032f08d8564f9fd3%7Cb1c14d5c362545b3a4309552373a0c2f%7C0%7C0%7C637354247264322808&sdata=oBR0IKke6z7KjMs9qgVK8IqoddYN0aKyaqF6nSdlbFo%3D&reserved=0

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMastekApps%2FFaqPage%2Fissues%2F24%23issuecomment-691069746&data=02%7C01%7Crichard.clowes%40sas.com%7Ce8ac1a8d600547d6032f08d8564f9fd3%7Cb1c14d5c362545b3a4309552373a0c2f%7C0%7C0%7C637354247264322808&sdata=ihbxHBBSpcT6ou1q%2Fo%2BRHE3DVCIPSGSZ3j%2FYs6XgUTk%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACESQ6MARFCBFFOS2SAC343SFIK5LANCNFSM4QHT5N4A&data=02%7C01%7Crichard.clowes%40sas.com%7Ce8ac1a8d600547d6032f08d8564f9fd3%7Cb1c14d5c362545b3a4309552373a0c2f%7C0%7C0%7C637354247264322808&sdata=nuDwZxMzlpSzqe9PFKHJ01We3ncjOta07oNUVd5zFYo%3D&reserved=0.