Document ID in SharePoint Online not working - configuration

I need permanent links inside my SharePoint Online.
To get permanent links, I have enabled the Document-ID Feature on the SiteCollection Level and configured Document ID Settings.
I have checked the checkbox to update the document ID in the settings also.
After some time of waiting I neither see any SiteCollection column for Document-ID nor I see a DocumentID Column in my Document Libraries.
After doing some research, I have found an article, saying I have to check update all content types during next refresh in the Content Type publishing hub.
But still - I don't see Document-ID.
What could be the solution to get Document ID in my Libraries?

I believe that SharePoint Online now does unique identifiers by default without having to enable that feature. There's a copy link menu item in the item's context menu and the url contains a docid in the query string. The url remains the same even if you move the document to another location.

My bad.
After recreating all the document IDs in SharePoint, I just had to add the column in the default view. After this, the document Id was visible.

Related

Problem with internal linking after website migration to GCP

So, I have migrated my websites to Google Cloud Platform, and that works fine, most of it. But, some links have some issues with the permalink format. For example, I have an internal link to my other page and the link is something like mywebsite.com/some-page, but for some reason after migrating some links turned to mywebsite.com/some-page/some-page/. I check the HTML code, and it looks fine. Here's an example page:
https://sewingmachinelife.com/learn-how-to-sew-different-clothing-materials/
Near the bottom you have these 2 internal links:
If you click them you'll see that one of them is fine, and one of them is not. I have this issue with 3 more websites migrated to GCP. Any ideas why this happened?
Here's the HTML code:
<h3>Silk and Satin</h3>
Silk and satin are materials made for perfect elegant dresses, skirts, blouses, or exclusive bed sheets.
I think I see the problem now:
Both links contain a category name (/beginner-info/) in the link target URL:
https://sewingmachinelife.com/beginner-info/10-tips-for-sewing-with-silk
and
https://sewingmachinelife.com/beginner-info/10-tips-for-sewing-with-satin-fabric
This is not a valid url, because your permalink structure is currently set to Post Name and not to:
/%category%/%postname%/
So what happens is that WordPress tries to find the correct item via the slug and redirects to it:
Satin gets correctly redirected to the right place (same url without the category) because it has a unique slug.
Silk on the other hand share a slug with an attachment (image) and gets redirected there (that's why you see the slug twice - note the attachment name)
To solve all this you will either need to change the Permalink structure one last time to Custom Structure -> /%category%/%postname%/
OR
You can remove the category from all the links in your content (e.g. replace every sewingmachinelife.com/beginner-info/ to sewingmachinelife.com/ (You'll need to do that for all categories)
Did you try to refresh the WordPress permalinks after the migration?
Go to Dashboard >> Settings >> Permalinks and under 'Common Settings' - note the current selection and then select 'Plain' and save changes.
You then revert back to your original permalink structure of choice - this usually resolves such problems (don't forget to also clear the cache if your using a cache plugin)

Convention for adding data to a clickable element

This question is perhaps too philosophical for SO but I wanted to give it a try.
We are using a tool called Google-Tag-Manager to track website events. GTM listens for clicks and you can filter based on e.g. element class or id.
Consider this scenario. We have several pdfs on particular page and wnat to know how popular they are. The pdfs can either be downloaded or viewed online. The pdfs each have a name. So I need to get the following data:
whether downloaded pdf or viewed online
the name of the pdf
For name we can presumably use name or title attribute. But whether viewed online or downloaded is more custom.
I am currently going to ask our developers to edit the html in such a way that I can configure GTM to listen for these clicks and pass the data back into our web reporting tool.
I can tell them to add a class to all of them e.g. class='pdf_clicks". What would a conventional means of adding the other two data points? A custom attribute? I know I can use title for name. What about whehter or not was viewed online or downloaded? Is there a generic meta data type attribute for this?

How can I use google to find all unknown webpages point to one specific known web page?

It's easy to find all children pages of one webpage. But it is not trivial to get all parent pages of one webpage, how can I do that by using Google?
You can't and Google cannot help you as it doesn't index all of the web.
At best it follows links on other pages, or is initiated by someone wanting to have something indexed explicitly.
Create a server. Put an HTML page on it that no other page on your server has a link to. Name the page with some non-guessable UUID in the name.
Google will not find this unless they start to randomly change parts of URLs to test for existing pages (a lengthy process).
Within that page you can have links pointing to other pages. It is a parent page for those pages, is a web page, and will not be found via Google.

Using html5 Canvas element in a Joomla Custom Html Module

How can I use a html5 Canvas element in a Joomla Custom Html Module?
Is there an option I am missing? When ever I put the code in the module takes the canvas elements out.
Please Help If you need anymore information please ask.
Thanks!
There are several ways that your HTML can have tags stripped out.
The Editor
The most common is actually the editor you have set up as default. e.g. if you using JCE this is famous for striping HTML because people haven't altered the default "Editor Profile".
In the JCE Control Panel, click on the Editor Profiles button.
Click on the Profile name that the user, usergroup or component is assigned to, eg: 'Default'
Click on the Editor Parameters tab, then on the Options tab and set it up to suite you.
Joomla Text Filters
Unless you're using a Super User account for everyday access (bad idea) you will need to set the user group of your account to have "No Filtering".
In the Joomla! 3.2 from the Global Configuration, click on the Text Filters tab (last one on the right). Check that your users group has "No Filtering" set, see the image below showing the standard test filter settings in 3.2:
When it still doesn't work
Turn off the editor while working on the module, i.e. go to your User profile and set the Editor to "None". Under "Basic Settings" in User Manager:Edit Profile change the Editor option to "None" as shown below:
That way if you have "No Filtering" set, and no editor set you will be dealing with just the text being stored in the database and there will be nothing between you and the database to change it.
If you are trying to add some HTML or Script elements inside module or Article,
Joomla will automatically remove the scripts and tags is that your issue then take a look at below link it may help you.
How to include html or PHP codes into Joomla article
Hope its helps.

Mediawiki: configuring the entry page, adding a new page

Have a wiki installed in our organization, and want to start using it.
Failed to find the answers for the next 2 basic questions:
How do I configure the entry page to show a list of all existing pages
How do I create a new page (!). Only succeeded doing it by typing a url of an non existing page. Guess there are nicer methods for this
Thanks
Gidi
For how to show a list of all pages, look at DynamicPageList, which is part of MediaWiki. (There's a more advanced third-party version, but it's not needed for such a simple task.)
Creating a new page really is exactly as you said: Type a URL and save some edits. Most beginning editors will edit a link into a page, and then use that link to browse to the page, so that they don't accidentally forget the spelling and lose the page to the Ether. (Of course it would show up in the recently edited and other special pages.)
This is more of a webapps.stackexchange.com question though.