I recently created a MixPanel analytics account and have added a bunch of unneeded events for development/learning purposes.
Is there a way to delete all events associated with a MixPanel project, or to delete all events associated with a user profile?
Technically, events data is immutable in Mixpanel and you cannot delete it. You have a couple of options:
A) If you don't have any valuable user on your Mixpanel account so far, it's fastest to just discard everything by creating a new Mixpanel project and starting from scratch. From the project selector menu, click "Create new project". Delete the old one or just ignore it.
B) You can also hide your existing events by name (Settings > Project Settings > Data management > [add events to hide]). This will hide all the events with the given names from the UI. You can use this option if it is OK for you to pick new names for events that you want to track in the future.
(You can also delete the profiles which have unwanted events associated to them. But as events data is immutable, this probably won't stop these events from showing up in event-based views like Segmentation or Insights, unless you filter them in a way that presumes an associated profile to exist. Use the UI or $delete operation in the HTTP API to delete profiles.)
Related
I'm syncing Account and Contact information between Dynamics CRM 365 and QuickBooks Desktop.
What I'm trying to do in CRM is have a checkbox called something like "Address updated since last QB Sync". It is locked so the user can't touch it and should automatically be checked when a user updates specific fields: company name, address, phone, email.
Trying to do this with a business rule, but apparently does not seem possible. Would be the best way to handle this (web resource, business process, etc)?
Pre-update plugin will be your best bet. Write a C# plugin to set the checkbox (bool) attribute in target entity if any of those four attributes are changed.
Register the target entity as Contact, even you can filter those four attributes in filtered attributes of Plugin step.
This avoids an explicit record update, also the plugin will fire only when any of those four fields were updated, and the flag will be set within the same DB transaction as an additional attribute.
You could also create a Workflow process that triggers when some of the attributes is updated, this is more inline with the use customization strategy that MSFT recommend, the downside is that you will have to create one Workflow for each of the entities
Hope It Hepls - M.Acosta.D
What I ended up doing was creating a web resource and assigning it to the OnChange event of the fields I wanted to monitor for changes:
function fieldChanged() {
Xrm.Page.getAttribute("new_updatessincelastqbsync").setValue(true);
}
address1_composite was a bit tricky since it wasn't detecting the OnChange event. Had to add the field that comprise of the composite as hidden fields and add the web resource to the OnChange event for those. Now it is working 100%.
We used to use Yammer a while back and now we're getting back on it. Problem is that most people who used it previously have left and the content left over is irrelevant today. Is there a way through an API or something to delete all content and posts on our Yammer network?
Your help is appreciated.
There are APIs which will let you delete messages (https://developer.yammer.com/docs/messagesid), but customers tend to just start using Yammer again. The old content disappears off the bottom. In many cases there are nuggets of info that get turned in up searches later which prove to be useful. if you want additional API help it may be best to open Support Requests with Microsoft for assistance. The main support site is available, but you can open requests through the O365 Admin Portal.
A bit old but still a relevant question. My organisation wanted to do this and the advice from Microsoft Premier support was:
Verified admin can choose to use the "Remove users" option under Network Admin portal. The option of "Permanently remove this user and messages" lets you remove the user and all the messages they posted (*note: This cannot be reversed).
As an alternative, for bulk deletion, the Bulk update feature, data export along with the Rest API endpoints should help achieve this. And before starting to delete the content ensure to set the data retention policy as "Hard Delete".
• For deleting the users/files/messages/notes, use the export files' (messages.csv, files.csv and Pages.csv) which have the API URLs in it which can be called from within a powershell script for example. One will have to format and make a post request through powershell. Herewith I attached an sample script just for your reference.
(it is regarding user deletion but similar call applies)
messages.csv api_url https://developer.yammer.com/docs/messagesid
files.csv file_api_url https://developer.yammer.com/docs/uploaded_filesid
Pages.csv page_api_url https://developer.yammer.com/docs/uploaded_notesid
• For managing and removing yammer users – you could delete the users using bulk update feature.
You could get users list by performing an export: Network Admin > Export Users and Export all users. Then perform a "Bulk Update Users" with the above spreadsheet saved as a .csv file. Note that you'll need two columns in this spreadsheet. The first should be titled 'Action' and the second should be titled 'Email Address' (both without the quotes). Under action, you'll want to put 'Suspend' on every line and you'll have your users' email addresses from step 6 under 'Email Address'.
Go to Network Admin > Bulk Update Users and import that .csv file there (there's a sample Bulk Update file for reference at the page itself – it has more columns than you'll need, so just pay attention to the first two).
When I want to assign a work item to a new person, there's a huge list of users in the combo box to select. Lots of them are gone from the company and are inactive in the domain control.
But the list shows all of them which makes it hard to select people.
How can I tell TFS not to show the inactive users in the assigned to list?
I've fixed this before by creating a Project Collection group called 'Global Exclusion'.
Then I add non-existing users I don't want to display, including service accounts, from AD into this list.
When the list is populated with any AD account you don't want to display, just customize your work item to exclude the 'Global Exclusion' TFS group.
It could be that the periodical sync from Active Directory to TFS is broken, I found an article that could help you work your way through, it mentions that if the job fails, it sets the sync job to inactive, thus preventing any future updates.
I'm writing a form for a Drupal 6 module for people to subscribe to some activities, and would like to limit the available subscriptions.
I'm quite new to Drupal API, but was thinking in locking a table (with db_lock_table on validation, check if we still have a seat available, then, on form submit, insert everything on the database and unlock, to prevent race conditions.
Will this work? Is there any better way of doing this?
Instead of writing your own event management system in drupal, why not leverage existing modules, taken from http://beeznest.wordpress.com/2010/05/28/adding-events-management-to-drupal-6/
Installing events and events subscription management to Drupal 6 is as easy as installing a few modules and doing a quick setup.
download and install the event module
download and install the signup module
enable the event module and all its sub-modules (don’t check datepicker if you want to go fast, as it will require additional CSS and JS to work)
enable the signup module (required by event-signup)
go to permissions and enable the events and signup features (nodes and signup sections) for user roles as needed (maybe you want to allow anonymous people to signup for events…)
go to content administration -> content type -> event -> edit
in the Signup configuration section, select any of the 2 last options (allowed or enabled) then save
create an event and “enable” the signup option (edit the corresponding elements to suit your needs)
The event signup module has the feature of "There are settings for restricting signups to selected roles and content types, and to place limits on the number of users that can signup for any given node." - see http://drupal.org/project/signup
db_lock_table's point is to avoid race conditions. I don't see any other way of doing this.
I’m using Microsoft Dynamics 4.0. I would like to know how to add attributes to the filter option in Accounts > History. Instead of sorting by how long ago, I would like to sort by what type of task it was, Such as email, phone call, fax, service ..etc.. Is this possible? If so how would I go about implementing this change?
You can edit the Closed Activity Associated View. It is a part of the Activity entity. The ID should be fixed and accessible from:
From http://server:port/orgName/tools/vieweditor/viewManager.aspx?id=%7b21E2B905-6FDB-470D-8517-AD69B4C01268%7d&entityId={C821CD41-F315-43D1-8FA6-82787B6F06E7}>
Though, you'll need to publish the activity entity after making changes. Note that this changes History for EVERY ENTITY related to activities.
You can edit the 'Closed Activity Associated View' from the customization screen for Activity, then sort by Activity Type - also add fields, etc.