I need to add items to a SharePoint list using client object model. The issue I am facing is: Suppose I am at a page whose URL is http'://sharepointserver:7575/details.aspx
I want to fetch this complete URL & Similarly I need to fetch the current page name also using client object model.
Can someone please guide me Which properties I can use to achieve this as I don't have any idea about client object model coding?
Any help would be greatly appreciated..
Try to use window.location.href to get full request url and window.location.pathname.substring(window.location.pathname.lastIndexOf("/") + 1); to get page name.
I downloaded the Access template below for doing a home inventory:
http://office.microsoft.com/en-us/templates/results.aspx?qu=home%20inventory&ex=1&queryid=0d245f2a%2Dacdc%2D4161%2D92c8%2D8ba16a52ab32&AxInstalled=1&c=0#ai:TC101918100|
The design view is not visible, which is a bit of a nuisance.
Things I've tried:
1) In options/options/current database/ the check boxes (enable layout view & enable design changes for tables in Datasheet view) are both greyed out.
2) I've unblocked the file using Right-Click->Properties.
3) I've tried copying/exporting the objects to another database. But can only copy/export the tables.
4) I've tried holding shift when opening the DB.
5) Enabling all trust permissions etc.
None of these work
Does anybody have any suggestions. (I'm using Office 2010)
Thanks
I know this is an old thread, but just in case someone is still looking for an answer, this worked for me. I converted the Projects Web Database.
The process is as follows:
Create a blank "client" accdb database.
Import all web tables, client forms, client reports from the template web database into the blank client accdb database.
Close the client database and open the template web database.
(Now, you must individually create a client object from each web object. This can be a bit tedious.)
Highlight the web object (a web form, for example) that you want to create a corresponding client object. Click the File Tab, then Save & Publish, then Save Object As, and finally click the Save As Client Object button. Give the Client Object a different name than the web object (add Client to the end of the name, for example).
You will need to repeat these steps for each web query, web form, web report, and web macro in the template web database.
Once every web object has a corresponding client object in the template web database, open up the "client" database and import all client objects that you just created. Rename the objects to their original names (remove the word "client" if you took my suggestion above).
Now you should have a working template database that you can change to you liking.
Home inventory is set up as web forms and these do not have the same design view as the "normal" Access forms.
Albert Kallal says:
Unfortunately , there is no conversion utility.
However, you can use those web forms with VBA or so called Access
client forms.
Solution:
create a new blank database
import all of the tables, queries, reports, macros, etc using the import wizard
I am doing a project in Django and i want to have some google maps displayed in my site. So, i installed django-easy-maps and successfully used it in a sample template. So, i am ready with my maps.
The interface i want to implement is this
http://i49.tinypic.com/sowm74.png
I want to display the maps where the Hellow World! container is and with different links on the sidebar i want to refresh the map being displayed on user click without reloading the page.
I did some researching and it seems Ajax is the solution...
Can anybody tell me how i might achieve this (with or without Ajax ) ?
Sorry for sounding like a noob but i am fairly new to this.
The basic steps are:
Create a view for the Google Maps section to the right. This view does not return a full HTML page but only the HTML for that section (which contains your Google Maps map).
When the user clicks on a link on the left, use JavaScript to perform an ajax call to request that page. In short this means: attach an event handler to the onclick event of those links and in code you can perform an ajax call .Many people use a JavaScript library for this purpose, such as jQuery (which has $.ajax()).
You can then use JavaScript to put the received HTML inside the container on the right (using $.html()).
Is there any way to save list of object and their collections just by one click save?
I mean list populated with already filled input text by object's value and justONE button "Save" to update all the items of the list.
Yes. Create one long JSON String and send it to your SPring MVC Controller.
See these posts for help:
JQuery, Spring MVC #RequestBody and JSON - making it work together
Problem with Spring 3 + JSON : HTTP status 406?
I am new to SharePoint my requirement is, we are developing a business intelligence dash board using pps with some custom reports built on it.
I need to replicate this site to create n no of subsites based on this bi dash board site. So I am planning to make this site as a site template and trying to create the site programmatically based on this site template. Can anyone help me how to achieve this.
Waiting for your reply.
One of the overload of creating a site accepts a site template object. What you need to do is to retrieve this object iterating through the collection of the custom web templates of the site collection: SPSite.GetCustomWebTemplates. You just get the one you need by name