CalDAV: Deleting entry by attribute or UID - linux

I am a network admin not a software developer and confronted with the following issue:
A user has five (here SOGo) CalDAV calendars and "Outlook CalDAV Synchronizer" has distributed all events homogenize over all calendars.
Creating an export/backup of one duplicate item reveals that "Outlook Synchronizer" adds special attributes to the not wanted duplicate entries that the original entry does not have like:
PRODID:-//ddaysoftware.com//NONSGML DDay.iCal 1.0//EN
X-MICROSOFT-CDO-BUSYSTATUS:FREE
TZNAME:Mitteleuropäische Sommerzeit
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
Is there a way to delete all calendar entries containing i.e. the X-MICROSOFT-CDO-BUSYSTATUS attribute? With sogo-tools backup I can identify and create the according ics file but I don't know how to use it for deleting the according entry in the calendar.
I took a look into
https://github.com/wvrzel/simpleCalDAV/blob/master/example%20code/example.php
but have no idea how to convert these examples into a working script. Perhaps there are possibilities at a "higher level" to solve this problem?

Related

Can I limit the amount of documents a user can download in a given time

My company would like to be able to limit the number of documents a user can download over a given period of time. Is this possible in Sharepoint?
OOTB i wouldn't say it is..... however you possibly could write some custom code to do so.
You could essentially rip off the Download a copy ECB menu item and then add some custom code to do some checking against a list or custom DB with the relavent information about the number of downloads and a timestamp and user info.
You could then display an error to the user if required.
You would be creating a new ECB button however you would be able to hide/remove the other one and you could target this to specific lists.
Hope this gives you some sort of starting point.
Cheers
Truez

Controlling an NSArrayController and Core data relations

I am new to stackoverflow because I almost never ask questions in forums as there are plenty of questions out there already answered. However my head is about to explode from trying to figure out how to do this app.
First I do this using XCode 4.5.2 for OSX 10.8 deployment of a personal (that is for my use only) double entry accounting software.
Each accounting entry consists of a header of various text fields such as the entry date, a serial number, etc. which I created an Entity called "Entry". Also each such entry has multiple lines such as the various accounts related to that entry, amounts, etc. called an Entity "EntryLine" linked in the model nice and easy.
The thing is that I intended to use text field for the basic header info and below it a linked Table View for each of the line. Being an accounting software there are several checks (validations) that I need to make and I need full control of what is going on. Already tried binding two array controllers, one for each entity and linking the two and saving them to the sqlite file but to no avail!
Now I have an app with just the header up and running by manually getting and setting the info in the top text fields as I please and saving them to the file. But I have no idea how to do the part with the Entry Lines in the Table view. Can I do that manually too or is it better to do bindings through an array controller?
Also tried already with array controller but I get "Table View Cell" when I add a new line in the table. Any ideas on that?
In the Table View there is also an "Account Name" part that is NOT part of the EntryLine entity but my intention is to obtain this information from another entity called "Account" that stores the Account Number and Account Name. On input of the account number that is, the app would skip the name field and move to particulars for input but also bring up the name of the account already inputted. Is this even possible?
Sorry for being a bit vague in my questions but I come from routine program oriented languages and not object oriented one, though I have some Java experience. Any help would be appreciated. No screenshot sorry as I am not yet allowed:(

Potential duplicate records: None in CRM 2011

I have a duplicate detection rule to check for contacts with the same last name and the same first two letters of the first name, case insensitive. I have checked the box to exclude inactive matching records and I have done no direct database manipulation.
To test the duplicate detection, I created a contact with my name and saved it. I then created a lead with the same last name and Mike instead of Michael for the first name. When I try to qualify that lead and create a contact from it I get a dialog titled Duplicates Detected, but in the bottom where the found duplicates should be it says "Potential duplicate records: None".
This article ( http://support.microsoft.com/kb/2693711 ) is the only thing I've found that seems to address the issue, but it doesn't solve my problem.
Edited to add: I discovered that if I trigger the duplicate detection rule by directly creating a new Contact as opposed to qualifying a Lead, it works correctly and it shows the matched possible duplicates. I'd still like to get it working when qualifying a Lead, however.
Sounds buggy to me, it really should show the user which record(s) are clashing.
However, I would come at the problem a different way - create a duplicate detection rule on Leads that look for matches against last name and first name on Contacts, so this would warn the user much earlier that there might be a conflict. E-mail address would always be a good indicator too, although it depends on your processes as to whether you would have captured that information at this early stage.
(likewise if you do B2B you may want to dupe check Leads against Accounts by company name)
Why waste all that time filling out details on a Lead only to find that it was already in the system as a qualified contact or account when you try to qualify it?

Custom memo field isn't copied to Reply or Forward in Lotus Notes 6.5

I work in a development/support team which has a shared Lotus Notes mailbox. We need to be able to associate an issue ID with each email. We started by adding this ID to the subject line (eg. "Something doesn't work [ID12345]"). For performance reasons, our IT dept don't allow indexing of shared mailboxes, so it takes a long time to search for a particular ID.
I decided to add a new ID field, which can be shown as a sortable column in views and folders. I put this field to the visible header (just below 'Subject') in the ($All) view and the ($Inbox) folder, and copied the ($Inbox) design to all the other folders in the database. That much was easy.
My problem is that when we reply or forward, this custom field is not carried over to the new memo, so we have to manually add it again before sending. And of course when the user responds, the field is again missing and must be manually added. I have searched the docs and the internet and haven't found any information on this. Either I have to declare this field as something which persists across replies and forwards, or I have to add a line somewhere which explicitly copies the field contents to the new memo.
fsw,
We do exactly this with our complaint system however our database is indexed although this should not be an issue to you. We created a view that is sorted by ID by extracting just the ID from the subject line, order it by ID and then by date descending. Base it on the $ALL folder view so you get both incoming and sent emails.
We then altered the memo form to include an embedded view single category of the new view that sits above the body which shows all other documents linked to the ticket.
This should avoid having to delve to far into the very complex mail template any further. One thing is to make sure you have a copy of the changes you made and a bit of doco re deploying as you can guarantee that one day your template will be completely overwritten in an upgrade and all your good work will be gone.
As the additional field would have to incorporated into all Memo forms in mail templates in your corporation and as these fields do not easily travel via SMTP, you should stick with the ID in the subject.
What you could do is to parse the subject (#Mid, #Right, ...) in the column formula in the view and only display the ID there (like you did with the additional field).
The other option I envision if having a field is required is to have an agent that processes the incoming message(reply) to have it parse out the issue ID from the subject and write it to the field. You could also do that with queryopen or postopen if running an agent is not possible

resetting "Issue ID" in Sharepoint site

I designed a site in share point. There is a column called "Issue ID (linked to item)" in ALL Issues view. I am using this column to list and identify the items which are created by employees. It increases by 1 as a new issue is created. Unfortunately, I have to reset this ID to 1 because during the test period I created and deleted blank issues. Although they were deleted, the share point increasing Issue ID from the last deleted issue (89).
Is there an easy way to do this? how can I reset this auto number? I need to reset this counter as soon as possible without any risk...
Do you kindly help me? I would be glad if you explain it in detail.
Thank you,
If your Issues list wasn't heavily customized and nor referenced by GUID in any custom code, the simplest and most supported option would be to recreate it with the same name after deletion as a customized template you could have saved without contents from list settings page before deleting or as a standard Issues list.

Resources