I am converting a WSS3 Timer Job to SP 2010 and having problems with Custom Properties.
In WSS3 i had to download an deploy a Timer Job Manager which sat in Sharepoint Administration and allowed me to manage the date and time of when jobs were run as well as my own custom properties that i had defined in the code of my project using:
<Persisted()> _
Public SiteURL As String
This was all i had to do and once i deployed my timer job, the custom property appeared in the timer job manager in sharepoint administration where i was then able to set it.
In SP2010 they seem to have gone half the way with Timer Jobs. They have allowed the setting of when a job runs which is exactly the same as the custom project i downloaded for WSS3 but none of the custom properties seem to be available to set.
My question is there something i am doing wrong? or have they just not incorporated this functionallity in to SP2010?
Thanks in advance for any answers, i hope ihave explained myself clearly.
Related
I would like to pull the report of tasks with start date, end date, status of the tasks created in Bitrix of all users.
I have administrative access of Bitrix in self hosted version.
How can I get this?
It was not clear from your question whether your question is about Bitrix Site Manager CMS or Bitrix24 Collaboration Platform.
If you mean Bitrix Site Manager, you probably mean Tasks 2.0. There is no information available on It in English, but you can visit the page https://www.1c-bitrix.ru/products/intranet/features/tasks.php#tab-report-link that describes on how to make reports on tasks, and translate it automatically, for example via the Google Chrome Browser.
If you use the settings that come by default in bitrix, it generates a report but does not show all the information you want, some working time fields would be missing.
what you need is to create a new page in bitrix and using the bitrix api create a task report.
http://bxapi.ru/
thanks you.
I'm trying to make a SharePoint workflow start automatically for any new document that is uploaded to a specific doc library. I've configured the workflow in SharePoint Designer to auto start for new documents or changed documents. However, the workflow never starts automatically! I can run it manually, but it won't execute itself.
I've searched around and have found the core issue, which is reflected in my log:
"Declarative workflows cannot automatically start if the triggering action was performed by System Account. Canceling workflow auto-start."
However, all the fixes I've seen have not worked for me. A common solution is to not run or create the workflow as the SharePoint System Account. Well, my SharePoint service accounts are not the ones I'm logging in as to upload my documents nor was it the one I used to create the workflow. I've tried editing & re-publishing my workflow as a totally new account and it still won't auto-start.
Just focus on two things:
Workflow will never start automatically with system account.
Check the options Start workflow automatically when an item is created or changed from Workflow Start Options.
While publishing the workflow, u need to select the checkbox Start workflow automatically when an item is created or changed for the workflow to start automatically or else whatsoever the WF will not start automatically.
Instead of using Sharepoint system user account, u could use an account having contribute permission on site level and full control over the library
Run the command at the server in powershell
stsadm.exe –o setproperty –propertyname declarativeworkflowautostartonemailenabled –propertyvalue yes
After I did that, the workflow runs perfectly although it shows the created by as being "system account".
I have an internal team SharePoint site where the team posts tasks in a task list. Once the task is completed, it is marked COMPLETED. I want to create a workflow so that when I change the status of a task to COMPLETED, the task is removed from the list of team tasks and moved to a new folder/list where all the completed tasks are going to be tracked.
Now, I know I can do this easily using SharePoint Designer by creating a workflow for the team tasks and then applying an equal condition on the status. However, our organization currently doesn't have the ability to use SharePoint designer and the feature is disabled.
How do I achieve the same functionality just by using the on-site features and settings. Any suggestions? I was able to add workflow but I can seem to find the equal condition.
The most straightforward way to solve the problem of separating completed and uncompleted tasks is simply to use views based on the task status.
If you MUST move the item to a different location, you can research if Records Management features get you part way, but chances are you'll need to use a tool or write code.
I have created a SharePoint workflow in visual studio , I have extended this workflow from the default SharePoint approval workflow as discribed here
The workflow is running properly. Is there a way I can get the workflow to run in the context of the user instead of th system account?
There are a couple of reasons this is not as desirable as it might seem. Firstly, the wrorkflow has to do things that the user does not have permissions to do directly. Secondly, workflows are background tasks, and as such there may not be a logged in user when the code is running.
If you just need a specific task to run as a user, take a look at http://blackninjasoftware.com/2009/04/09/how-to-programmatically-impersonate-users-in-sharepoint/
I am creating a simple workflow using SharePoint Designer that triggers when a user uploads a new Document to a library. This workflow assigns a task to multiple users and then waits until those tasks are complete. Once they are complete it then assigns another task to different users and then waits until those tasks are complete. It repeats this multiple times.
This works great, the problem is that there is no Due Date on the tasks created and they would like a reminder email. Following the Microsoft Documentation I create a secondary workflow on the Task library and set a Due Date on the tasks based off of the Title and send out the reminder.
When I attempt to complete the assigned tasks, it lets me complete the task for one of the users, but after that I receive a "This task is currently locked by a running workflow and cannot be edited" message.
The sharepoint site is part of the Microsoft hosted services, so I have no controll over patches or hotfixes. I believe that it is only a WSS site, not MOSS.
I am new to SharePoint, so any fixes, workarounds, advice, etc. would be appreciated.
This blog by Wouter might clarify things for you...
http://blogs.code-counsel.net/Wouter/Lists/Posts/Post.aspx?List=c04a88a9-d138-4ac3-a2bb-b95c9fdd114e&ID=118
Also, if you are using SP 2007 make sure you have at least installed SP2.