It’s been a busy months for me, I can’t write anything on my spare time. But I tell you what, I’ve created a little tools to generate Aggregation ID so you don’t have to write code about it if you just want to query the Web Analytics on SharePoint 2010.
Just specify your URL and Level, and you’re good to go.
Usage:
Rdz.GetAggregationId.exe –URL <URL of SharePoint Site or SubSite> –Level [SPSite | SPWeb]
Below is the exe file that you can use. It based on .NET 3.5.
UPDATE: Thanks for Anand for noticing. I just realized that I haven’t include the DLL inside the ZIP file yet. Above, is the updated link. Thanks a lot and sorry for my mistake!
the dll fiel is not downloadable .can you please upload the correct file
BalasHapusIt's not a DLL, pal. I put it inside the zip file. The link is OK, I've already tested it just a minute ago, and still working.
HapusI'll try to fix and manage it. Thanks for the input, pal.
Hey Radityo,
BalasHapusI got the exe file that you have posted, but it is looking for the Dll in the GAC and you haven't included that in the zip file. Can you please post the dll file so that we can use your tool to get the aggregation ID for using in our Web Analytics reporting project? Please post it as soon as you can or you can email the same to me at abalasubramanian@gmail.com
Rdz, Version=3.5.0.0, Culture=neutral, PublicKeyToken=3307e78ba1fa90d7
Thanks,
Anand.
Got it, Anand. I appreciate it! My mistake....
HapusAlready update the latest link, and send to your mail also...
Thanks a lot.... :-D
Hello Radityo,
BalasHapusI tried to use your tool, but I could not succeed to get any Aggregation Id : I get the following error :
"The web application at : http://***** could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intented application."
I typed correctly the URL. Do you have any tips to make it working, or getting the AggregationID for a SPWeb object by another way ? (I am able to get Aggregation ID using SQL Manager)
Florian.
Nice to know you Florian. I don't know, maybe I've changed the build platform type to x86 maybe. That's a common problem, bicoz MOSS 2010 only run on x64 platform.
HapusBTW, thanks for noticing. I've uploaded the new one and updated the link, built on x64 platform.
Another way, you can follow my previous post on how to get aggregation id, but by creating a Class. http://otak-otak-it.blogspot.com/2011/05/how-to-get-sharepoint-2010-web.html
HapusBut this post is the simpler way. Let me know if u still have a problems.
Didn't work, I get "URL" is empty. (yes, I specified the URL)
BalasHapuswow... mine worked and been checked on the code, case insensitive.
HapusDid you specify URL correctly (with minus sign)? -url ""?
Hello Radityo,
BalasHapusFirst of all, thank you for this tool.
Is it not possible to get the aggregation ID of a web application?
Why is the SPWebApplication level not supported?
Many thanks!
Yup, pal. Actually possible, since it's supported on microsoft aggregation ID generator class.
HapusBut I haven't added it (and also tested it). Hope will update it soon. Thanks for noticing, this is a good idea to add web app level and also service app.
Hurrah, that's what I was looking for, what a data! present here at this webpage, thanks admin of this website.
BalasHapusHere is my site ... buy youtube views
Thanks, hope it helps.
HapusHello Radityo,
BalasHapusEven I am in need of your tool . But I couldn't download it. So can please share the new link .
Thanks in Advance..
Is it? Sorry then. I'll try to fix a few hours later.
HapusNeed to do something first :-P
The link is OK, you just need to click it, and will open on another page. On another page, you click "Download" on the right side of the page.
BalasHapusMicrosoft.Office.Server.WebAnalytics.ProcessedDataRetriever.AggregationContext.GetContext can be used to get the AggregationId
BalasHapus