I have been using custom forms for a number of years. There appears to be a new issue with O365 and TASK custom forms.
If I open a new task from a custom form, type in a characters, wait 30 seconds and then save it, I get the following error "the item cannot be saved because it was modified by another user or in another window"
So now it tried with the following:
Test 1:
I tried the same form in a .PST file and all works OK.
Test 2:
Took a standard Task Form - I did not make any changes
Saved the form with the new name “Test1”
Opened the form as a new Task, typed into the Notes/Body field.
Saved
Outlook had the same error. - "the item cannot be saved because it was modified by another user or in another window"
This test has been replicated in 3 different computers. Same issue.
Any ideas? Thanks.
This is not at all related to custom forms - you save an appointment or a task, the OST store uploads it to the Exchange store, its processes the item and stamps its own properties. OST store picks up the server changes some time later and downloads them. If you now try to save an item, you get a conflict.
Related
I have a script which periodically creates a new Smartsheet from a template, then imports data into that newly created sheet. I have a series of reports which looks at all of sheets this script creates so that I can present and graph each sheet as well as summarize elements from them and chart them over time.
I've automated most of the process (in PowerShell), except for modifying the reports to include the newly created sheets. I'm wondering if there is some undocumented way I can edit the SourceSheets array in a Report object. I'd like to add the newly created SheetID via an automation so that I can cut out the last step of importing this data.
As far as I know there is no support in the API to modify reports, not even to copy directly (unless is inside a folder or a workspace and you copy the container), you can only share the report, export and other random things, this is one of the less supported features.
Currently I am regularly emailed (through outlook) a list of 20+ hyperlinks in the body of an email, which I open, save, and print one at a time. Right now I use 5 clicks for each hyperlink, which is very inefficient, but I do not know how to automate the process. How should I approach this?
Just some ideas:
Get the selected item using Application.ActiveExplorer.Selection(1)
Load MailItem.HTMLBody into IHTMLDocument object
Loop through all links in IHTMLDocument
Download each link using XLMHTTP
Save the data into a temp file
Create and use WScript.Shell object to launch the "print" verb on the file
Delete the temp file
I'm trying to develop word add-in which allows to modify word content. One of the requirement is to select some text and mark it:
change its style (look) - and that is done
Associate that piece of text with some custom/hidden data, ex. an ID.
I want to somehow persist that data within the document, so that:
My add-in can read the document on the start and build a list of 'marked' elements
It should work on different machines - I can create a document on one machine, later open in on other machine, and add-in should be able to retrieve that data.
So far I tried to persist that data by first, getting data as HTML, and add attributes to tags, but that didn't work.
Also tried to add some hidden div, but it was only available during word app lifetime.
Recently, found this link: https://github.com/OfficeDev/Excel-Add-in-JavaScript-PersistCustomSettings , but still it allows to persist data in scope of "browser", so, I assume that on other machine it won't work.
What are my possibilities? Maybe I shouldn't store it within a document, but if not, where?
Developing it using office-js - it should work for both Word 2013 and Word 2016 (so I don't have an access to Word 2016 specific API).
Check out https://dev.office.com/reference/add-ins/shared/settings
The Office JS Settings object allows you to save custom data that persists with the document. It is pretty straight-forward to use. Getting settings is synchronous - saving settings is async. The biggest thing is that you have to remember to call Office.settings.saveAsync() after you have made your changes using Office.settings.set() in order to actually save the changes to the document.
Moreover to Nick's answer which is absolutely correct, you can use "Binding" mechanism.
Bindings are stored in document out-of-the-box, so that, you can access those later at any time.
An example, which fits my needs:
Select some text and click on button in add-in (to call some method)
Call addFromSelectionAsync() method (you can specify an id for it to reference it later)
Access it using getAllAsync() or getByIdAsync() method at any time you need it.
More about it: https://dev.office.com/docs/add-ins/develop/bind-to-regions-in-a-document-or-spreadsheet
I need to upload a little over 2000 courses to Totara V2.6.
Doing this with a .csv file isn't normally a problem but I need to set "Enable completion tracking" and "Mark as In Progress on first view" to yes/checked for the courses.
Here is an example of what I have tried in my .csv file:
fullname,shortname,category,enablecompletion,completionprogressonview
COURSE NAME,COURSE NAME,1,1,1
The courses are created and uploaded but the two desired settings have no effect. I have looked here for more information on uploading courses usng a .csv, but there is no mention of the completion tracking settings.
Is it possible to set "Enable completion tracking" and "Mark as In Progress on first view" in the .csv file, and if not is there another way I can apply these settings to all the courses without having to do it one at a time?
Thanks in advance.
I'm afraid you can't do Enable completion tracking through a csv file for users as per the documentation: https://docs.moodle.org/30/en/Upload_users
You can enable completion tracking in a separated .csv file only for courses: https://docs.moodle.org/30/en/Upload_courses#Course_information_fields
You must enable activity completion for all the activities within a course and set the course completion criteria, I don't think this can be done through a .csv, I think this must be done manually.
Once you have all users uploaded and enrolled into a course, you can change all users progress on the activities directly on the database, or create a script that does the job for you.
I am to create a new design (CSS & HTML) for a web site which is created using Interwoven ContentCenter Professional.
Now, I can see the existing files in CMS (Interwoven) but, I can't make changes. My changes are displayed only when I'm in edit mode. Nothing in the live page. I tried to submit, create editions of files but still no good.
How should I create or edit pages in Interwoven CMS?
Thanks.
If you're talking about generic pages, then once you are finished you have to click on the Generate option, then choose a directory and click Finish. Last thing you should do is to choose yeswhen it asks you to Re-generate the page.
What you are trying to do is just creating a new file, not generating a file from TeamSite's Formpublisher. It is just like if you are in Windows Explorer and creating a new file. In order to generate a file from a form entry, you need to be in the templatedata directory, ex: /default/main/branch1/WORKAREA/wa1/templatedata/category/type(on unix) or Y:/default/main/branch1/WORKAREA/wa1/templatedata/category/type (on Windows). There should be a file call datacapture.cfg there. There is another directory called data under the above path which stores your data content record (dcr) that are created from the form. This is the file that you can use to generate which will use the (tpl) file under the presentation directory.