Delete all content on Yammer - yammer

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).

Related

Google News/Without login: How to select topics in main page (URL?)

I'm in an organization that doesn't allow using outsiders email. Therefore, I refrain from logging in with my Google account, but Google pushes us to log in for the merest action, like setting the color theme...
I'd like to change which topics appear in the new December 2022 main page. Indeed, the health section doesn't appear anymore by default. And, Google tells me I have to log in to access my settings.
Would you know another way to change which topics (plural) appear on the main page without logging in? Is there, maybe, an URL GET-method argument that would achieve the same result (like topics=nation,world,business,science,technology,entertainment,sports,health which doesn't work) or whatever alternative?
Thanks.

Change document account in an Oracle Webcenter Content Workflow

I have implemented a website using Oracle Webcenter Portal (WCP) integrated with Oracle Webcenter Content (WCC).
Some pages of the website need to show public documents that are stored in WCC. In order to do this I use WCP content presenters. However, I realized that, in order for the document to be visible to a user that is not logged in, that document must have no account associated in WCC.
However, for security reasons, prior to it's release the document needs to have an account.
I was trying to use WCC Workflow events to alter the account using wfUpdateMetaData Idoc function. However, after some research I realized that this function is only capable of altering metadata that was manually created by me.
Is there any way to achieve this?
Thanks in advance.
You have two possible approaches:
It is possible to give access to non-logged in users, by giving access rights to Guest. It's probably not what you want, so I'll leave this option without further description for now.
Second option is to change account by using executeService to call the UPDATE_DOCMETA service. It might an issue that the document is in an active workflow and you might have to call wfRelease prior to the service call (I have no possibility to test it right now)

Get CRM WRPC-Token for display images in Webressource

In my CRM HTML-Webresource, I got to display E-Mail activities with it's images (saved as attachments) as HTML. I take the description attribute for that.
As I realized, at least in CRM-Online, every attachment-image has a WRPC-Token that I need for the correct file path to load it.
How can I get the token? Most of the solutions that I found are either old or don't work for my circumstances.
Can I fetch the token out of the given HTML?
This approach doesn't make sense to me,
Attachments are stored within a database behind a web service, they are not at a file path you can simply open.
WRPC-Token's are used in security, I'm not sure how it is relevant or could provide a file path.
I would suggest writing code to access the CRM web services, this will enable you to retrieve the attachment data. There is an example here Sample: Create, retrieve, update, and delete an email attachment.

How to get data out of entity in script in CRM 2011

I have 2 entities (for this example) in CRM 2011 - Account and Case. The Account holds all of our clients, the case holds individual work actions for an account. When a case is created one of the input fields is the Account.
What I would like to do is upon the user selecting the Account, execute some javascript to look up the account entity to display some additional information.
So far I have got the javascript working that triggers the onchange event of the Account field, and it correctly gets the selected Account, but I don't know what the next step is.
I'm new to CRM so don't really know if what I'm asking is actually sensible, if there is a better way then please let me know.
Thanks!
For the record, the way you were thinking about doing things would be completely supported, and TechHike's method is supported in CRM 4, not CRM 2011. Steps you would take:
Use CRM 2011's web resources to upload a script file that does what you want.
Use the form editor to make your javascript method from step one fire when the Account field changes on the form
Make a request to CRM's REST endpoint (http://msdn.microsoft.com/en-us/library/gg334767.aspx) to retrieve the details of the account selected
Use the results to populate fields on the form, show a popup with details, etc.
There are plenty of examples of caling the REST endpoint from JavaScript in the SDK (http://msdn.microsoft.com/en-us/library/gg309408.aspx). Good luck!
Matt's post above contains everything you need to know, but you might also find the blog post below useful. It basically describes the same scenario where you have a 1:n relationship (such as Case and Account) and details how you can pull information from a specified lookup (e.g. account), using the REST endpoint (as Matt has already mentioned) and display it on the form.
http://community.dynamics.com/product/crm/crmtechnical/b/crminthefield/archive/2011/02/07/showing-related-information-in-a-crm-2011-form.aspx
The blog post includes a link to download a CRM2011 solution already built to give you something to look at how they've achieved this (useful if you're new to CRM2011).
There are two ways to do this, and you may be best to do them both in parallel:
on the Account > Case relationship edit the Mappings. When a user goes to an Account and uses the left navigation to look at Cases (or a grid of Cases on the form) then hits "Add New Case" they are creating a Case from inside the "context" of the Account. You can copy any fields you want to from the Account to the Case record at this point - the Mappings define what field from the Account are copied to which target field on the Case. This will always be the most robust, easiest way to do it but relies on the user starting in the right place.
on the Case for you could also add an onChange script to the Parent Customer lookup to fetch the data from the parent record. I think Stephen's link is probably the best way to do this as it does not copy the fields but allows the user to see them anyway, which is better database design (from a purist standpoint) and means the user always sees current info about the Account rather than possibly out of date stuff. Alternatively if you actually need to copy some fields (maybe the customer's normal SLA say) so that you can use these in other such as scripts or workflows on the Case then have a look at this article: Disabling the selection of contacts for opportunities all the way
Although this is about a slightly different topic, the script there fetches the Account details of the parent Contact - you want to fetch values from a parent (llokup) field so the approach is the same, just different in the detail
There are various ways to do this but I would recommend doing it the supported way, without javascript. This may not be as pretty but it is likely much easier. The scenario would be to add a left navigation link to the case entity that when clicked will update the content area to show the details of the account.
To add a link to the left navigation you will need to configure the isv.config file to have an extra link for the case entity.
Here's an example:
http://support.sfusion.com/kb/hosted-microsoft-crm-4/how-do-i-modify-the-isv-config-file-in-microsoft-crm-4/
You can also lookup isv.config customizations in the SDK, found here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=82e632a7-faf9-41e0-8ec1-a2662aae9dfb&displaylang=en
Next you will need to create a custom aspx page in the ISV folder of the web server. This page will display all the information about the account that you want to show the user when the left navigation link is clicked. The ISV.config as an xml property that allows you to pass all the context params to your page on the querystring. Make sure when you create the link to turn on this attribute.
Now the only tricky part is that in the page you will need to use the CRM web service to display all the account details that you interested in showing the user. I won't do into details on this. You can find great tutorials on the web or in the SDK if you haven't done this before.

Is it possible to generate notifications when new docs are uploaded to Google Docs?

I have shared a Google Docs folder with our remote team and a few members of my team. Is it possible to send out emails to all collaborators/viewers when a document is uploaded or edited in the folder?
Otherwise it becomes difficult to keep track of whether anything was changed or not.
Thanks.
Yes! Check out the Google Documents List Data API. Basically, you post a signed request to the API requesting specific documents or a list of documents overall and Google responds with an Atom feed of the documents that you're looking for. Among the tags is <updated>, which contains the timestamp of the last modification. If you keep a local listing of files handy, you can compare to see if any revisions were made.
Also interesting in the feed is <published>, which describes when a doc was created. If you know the last time you checked for updates, any docs published after that time can be considered newly created.
I'm not going to get into code (doesn't sound like what you're asking for), but this should get you on the right track. Hope it helps!
Yes and no.
Google Docs is not a consistent set of tools, so notifications are supported but only partially.
Google Spreadsheet has a set notification rules in the Tools menu
Google Form is linked to spreadsheet so they're covered too
You would have to do something yourself for Document/Word and Presentation apps
I would suggest reading the document from web and checking if the checksum was changed

Resources