Is there a possibility to trigger a Sharepoint designer workflow 2013 only for uploading files, not Folders in a document library? - triggers

I have searched for this issue before, with no luck;
I want to trigger a Sharepoint designer workflow 2013 only after uploading files, not Folders in a document library,
Is there a possibility? and How?
Thanks in advance.
I tried this also with no luck
Workflow to specify Content Type ID

Related

Is it possible with PowerShell to find an author in Sharepoint and change it?

A little more context, I'm trying to use PowerShell to search through SharePoint for any files which have a particular Author.
We have an issue where if someone tries to delete a file that is authored by an ex-employee it alerts a different person that they did not have permission for the file to go to recycle bin for some reason and makes them permanently delete it instead. Below is a link of what they get:
Microsoft won't support it as they say they won't supply custom scripts so I was wondering if anyone here had any ideas?

How to disable drag and drop of folders but not files in SharePoint online Document library?

I am using SharePoint online. I have a requirement, in the Document Library users are not allowed to drag and drop folders but they can drag and drop files.
If a folder is dragged I need to show a warning.
How can we achieve this? I was trying with SPFx but had no luck. Can I add event listener to detect folder drop before it is dropped?.
Any suggestion to achieve this would be really helpful
Not sure if this is achievable. You might want to have a look into this:
How can I disable the Document Library drag and drop function?
Also you can read this ms doc:
Information about dragging files into document libraries in SharePoint Server 2013 or SharePoint Online by using a web browser

Is there a way to copy only views from a Sharepoint 2010 library to SharePoint online library?

I have a SharePoint Online 2010 site, I have migrated all the content from SP 2010 to SPO. Now I want to only recreate the views from the source site (SP 2010). Because there are so many views, doing it manually is going to take a lot of time. So, is there any chance that I can recreate the views same as the one's in the source using Powershell or any other language?
When it comes to "logs"/"reports" in SharePoint online, it is not so easy to get them, but still I have managed to found a couple of ways. Check this article that I have wrote about how to get user's activities in SPO: https://www.alight.ro/Articles/Efficient-Ways-to-monitor-Site-Collection/
It contains both manually and programmatically ways.
If you prefer to do it programmatically, the best way is by using Exchange Online module . By using a simple command "Search-UnifiedAuditLog" you can get all kind of activities users have performed on a file: download, view, edit etc. And all you have to do is to write a script. See sample code:
[enter image description here][1]
In the article you will find what represents each line of code.

SharePoint 2013 Powershell - Moving Document Liobrary to New Site Collection

I am trying to move document libraries, from one site collection to another and retain of the metadata such as Modified By, Date Modified etc.
I have tried using the 'move' function within SharePoint 2013 Content and Structure but unfortunately this doesn't extend to across site collections.
I have tried multiple PowerShell scripts they successfully copy the file from one Site Collection to another but do not retain the metadata.
Any ideas, would be greatly appreciated.
Thanks.
have you tried saving the library as a template? You can mark the template to keep the contents.
Then you can deploy a new library from that template (Site actions / More options / Template name), and after that delete the template.
Additionally you can move it between servers. Go to the Site settings, there to the template gallery and download the template you just created. Now you can move it to another server or application.
Hope it helps.
Take a look at the SharePoint migration tools. Some of them offer free trials for limited amounts of data.

How to add workflow in Alfresco manually..?

I am working with Alfresco as Back-end and in alfresco some task done by executing workflow.Now my problem is I want to add workflow in alfresco manually but i don't know where to put workflow script so i will choose from work space ?
Following picture describes my problem :
I reached below point but don't know what to do further ?
According to above picture From where these bunch of files are came..?? OR At which location i will find these files in project workspace?
Login as admin in alfresco.
Navigate to Company home>Data dictionary>Scripts
You will be able to see all these files.
If you upload any of your js file then it will be automatically pickedup and addedinto this list.
You will find them in Company Home/Data Dictionary/Scripts.