SharePoint 2010 chart web part displaying web analytics - sharepoint-2010

Have anybody used SP2010 out of the box chart web part to display web analytics data? e.g most viewed page etc. Or know if this is possible or a way around this? I can't seem to find anything that suggest that you can, would like to not use any third party tools.

Noop. I worked on a similar assignment where I extracted data from WebAnalyticsServiceApplication_ db.
I created SharePoint TimeJob which extracts data periodically and adds into a sharepoint List.
Later created Sharepoint application page with charts.js and Jquery to display charts based on the sharepoint list.
Note it is not advisable to directly access SharePoint Database. But my case was approved by my company.

Related

Azure API Management Developer Portal

I have a requirement to expose the APIM Developer Portal to external partners, I want the developer portal to be my one stop shop for these partners to access and learn everything they need to know about my APIs, in the main APIM Developer Portal satisfies that requirement but when I want to add new content e.g. specific design, architecture, user guide documentation etc about the API it starts to get very confusing, for a start it looks like the depreciated publisher portal (which still exists) is the only place that I can add new pages. The new pages seem very limited and clunky and cannot be amended in the new version of the portal. There is also very limited documentation outside the standard MS stuff and nearky all of that relates to amending the current pages and templates.
My site will go live at the end of the year and I don't want to find one day these new content pages missing from the portal and my supporting documentation removed.
Does anybody know where Microsoft is going with the developer portal for customizing outside outside the standard templates they offer or can anybody supply me with a link of documentation that addresses new content pages?
It looks like the depreciated publisher portal (which still exists) is the only place that I can add new pages
Yes, you need to use the publisher portal to add new pages.
The new pages seem very limited and clunky and cannot be amended in
the new version of the portal.
What do you mean by new version of the portal?
I am going live at the end of the year and I don't want to find one day these new content pages missing from the portal and my supporting documentation removed.
If your worry is that API Management will automatically remove your content because of publisher portal deprecation - you can rest assured this is not going to happen, especially without any previous notice.
Does anybody know where Microsoft is going with the developer portal for customizing outside the standard templates they offer?
There is some work planned to refresh the developer portal. Can you please elaborate more on what you are trying to achieve? What is your goal?
One can edit those pages in 2 places: Publisher Portal and Developer Portal.
In the Publisher portal you can add widgets to predefined areas on the page. For example you can add a HTML widget to the home page for authenticated and non-authenticated users. Rasmas Gude has a great article about that here.
In the Developer Portal you can change the information shown on each page by editing the template. There's a edit template icon available on the left for administrator. If you click that and then select the section you want to edit a split screen will appear below. The left have is DotLiquid markup and the right is the data model for that section. With that information you should be able to modify the page in the manner you wish.
If they are decommissioning the publisher portal, it will be enabled in the azure portal. Earlier we have the API, Products and users etc in the publisher portal. that are added in the other portal. The deprecation of the portal, dosnt mean the existing functionality will fail, which have the alternatives.

Masking Credit Card Numbers in Sharepoint newform?

I have a sharepoint new form, where I want user to enter his description of issue and where he can mention the list of 'Credit Card Numbers' . As its a PII information I want the credit card numbers enetered by User to be masked in some way.
I use Sharepoint Designer 2010 only, so please provide me some option on how this can be done ?
Don't store PII data in SharePoint.
If you're using Designer, connect to a SQL datastore as a separate datasource. Technically, you'd be creating a SharePoint Web Application (not to be confused with a SharePoint Web Application within IIS and as a root of the farm).
We've done this many times within DoD organizations. SharePoint is not secure, and too many things can happen. It makes more sense to add that additional layer of security and abstraction by keeping the data in a separate SQL database, rather than in SharePoint lists. Remember, a user can always create a custom view, which will throw away all of the security your custom form may seem to provide.

How To Open A Meeting Page Client Side

I'd like to open a SharePoint 2010 meeting page from a client side, Win form, C# application. How is this done? There is plenty of documentation to open a site and a List page but almost nothing on this. Can anyone help?
I think you cannot open the page per se (unless you use a internet explorer wrapper). But you can get all the underlying data from that meeting (all data in sharepoint lives in lists) and render it in your winform page by rebuilding the page with winform layout, controls etc,
To extract the data you have a variety of options:
Client Object Model (check the item under building a console app) - http://msdn.microsoft.com/en-us/library/ee857094(v=office.14).aspx
Using Sharepoint Web services - http://msdn.microsoft.com/en-us/library/office/ee705814(v=office.14).aspx
Using the REST API - http://msdn.microsoft.com/en-us/library/ff798339.aspx
In your particular scenario I would go with the first option since it provides a more streamlined api for .net apps and allows among other goodies batching of commands which will improve the performance of your comms with the sharepoint server.

Can you create Google Forms from Google Docs in an application?

I am thinking about app that will use google form and I need to create forms from that app. Is there a way how can I create form in google docs without using website but through some api or some other way?
I can offer an idea for a solution using Google App Script.
Since the beginning of 2013 you can create new forms using the App Script Forms Service API quite easily.
var form = FormApp.create(title)
.setDescription(description)
.setConfirmationMessage('Thanks for responding!')
;
The problem now is how to get that App Script running from your non App Script code.
You can use App Script to create a Web App that reacts to HTTP GET requests.
So putting it together, you may be able to create an App Script Web App that reacts to a GET request and when it gets the right URL parameters, it creates the form.
(Nov 2020) Yes, it is possible to programmatically create Google Forms. You can do it with Google Apps Script using its Forms service. You can also extend the code to read in the contents from Google Docs (with Apps Script's Document service) and use it for the creation of Google Forms.
I created a Google Workspace (formerly G Suite) Add-on, which you can think of as a Google Docs extension, called GFormIt. Its original purpose was intended for teachers to write exams/quizzes, possibly with answers, in Google Docs, then automatically convert them to Google Forms to distribute to students who submit their answers into Google Sheets (the destination for Google Forms submissions).
Furthermore, if you (the teacher) provided answers to your test questions, GFormIt would also auto-submit your answers to the Sheet as if you were a student. If you do that, and use a tool like Flubaroo to grade the exam, you could designate your row in the Sheet as “the answer key.” You can learn more about how it works, including viewing a short video, at the GFormIt page linked above.
This Google Docs add-on, along with others for Google Docs, Sheets, Slides, Forms, etc., are all certified/validated by Google and available for free to anyone from the Google Workspace Marketplace. (However, your admins may have to grant permissions for you to try to install them to your corporate Workspace account.) If interested in building your own add-on, please see the developer documentation and perhaps some of my introductory videos to get started, the most relevant being the one linked to at the top of this answer.
Apps Script is a serverless Google technology, meaning you write your code (using JavaScript) in the browser, and it is hosted by & executed on Google servers. If you wanted to create your own web app (and hosted anywhere), you would have to wait for a Google Forms REST API which does not exist at the time of this writing. (If we ever launch one, you'll find its documentation at https://developers.google.com/forms along with the others like Sheets https://developers.google.com/sheets, Gmail https://developers.google.com/gmail, Drive https://developers.google.com/drive, etc.)
Earlier this year (Mar 2022) the new Google Forms Api graduated from Beta. It is more powerful that the previous versions and caters for two main use cases:
Automated form creation and editing: Enables automated form creation
and editing. Enables rapid form generation from large volume question
banks or other data backends.
Reaction to Form responses: The API also enables developers to build
automations for acting on incoming responses. Examples include
developing real-time dashboards or visualizations and triggering
business workflows based on response data.
We have used it to build an integration that Creates documents and slides each time a form is completed: www.portant.co/google-forms-to-docs and it works really well.
I think the other key use case looks like it would be a good fit for you and others looking for a solution like this.
Cheers, James
Sorry, the API doesn't support programmatically creating forms.

Integrating Sharepoint Calendar into Web Forms

I'm attempting to add a calendar to one of our VB.NET Web Forms-based websites which will be used for scheduling purposes. We want to have this calendar sync with our corresponding Sharepoint calendar.
My problem is this: I know that I can integrate a Web Part into a Web Forms page; can said Web Part use a calendar from our Sharepoint site as its data source? If so, how would I go about doing that?
Thanks for your help; I've done a lot of looking online, and I haven't been able to find anything, one way or the other.
you can integrate the webform calendar with sharepoint calendar using the webservices exposed by sharepoint in your case you would require to use lists.asmx
http://dotnetdreamer.com/2009/06/04/moss-web-services-accessing-sharepoint-list-data/