Simple means to save web input to a Sharepoint list - list

In Sharepoint 2007, I wish to create a simple form on a public facing web page to insert a new list item - username.
I'm don't need anything fancy, so I'm hoping for a fairly simple solution.
I see this being accomplished in 2 parts:
1. capturing the user's Sharepoint ID, then
2. Inserting the user's ID into the list.
I thought the Form Web Part, pointing to my list, would be the way to go, but it appears the Form Web Part can't be used to insert new list items; but maybe I'm wrong.
I'm looking for any comment, suggestions, tips, examples, etc. for doing parts 1 and/or 2.
Thanks,
George

SharePoint Lists have new item forms by default. The filename of the form is NewForm.aspx.
Look for your new item form at http://[your site]/lists/[your list]/NewForm.aspx
If you'd like to add the new form to a different page than above, use SharePoint Designer 2007 and to insert a custom list form.
Also, the user's id is stored in the Created By and Modified By fields of the list.

Related

Populate the same item from various pages without direct conenction between them. Scrapy

I need to Scrape Landing page and some pages that originate from this Landing page. And save all data into the same item. The originated pages do not connect between themselfs. What is the available way to do so? Is there any way that i can get(load) yielded item and add some info to it?
What I can think of is initiating a dict in spider itself but that seems very bad idea.
Here is a schema for better understanding. Sorry for my painting skills))
Say if i create item on page 1 (google) and send it as meta to all other links. Will Yielding the item from all 4 links come together and generate full item with info from 5 urls?
Ok. So I came up with two solutions.
Solution #1. As posted in original post send item to all the links via meta and add dictionary value to the same item field. Say item['links_info']={}. So every page will have its own key and data assigned to this item dict.
Solution #2. Save all links that need to be visited into a list. Follow 1 url from this list at a time and pass the rest via meta. Also pass item along.
The first one looks easier to implement though.

Create Word document of complete list (multiple list items)

I have a Sharepoint 2010 Custom List. I have created a Nintex Workflow to get all the data from the list i need and wrote it into a variable that contains a HTML table. Unfortunatelly Word only sees the code and not the table when i use this variable in a Content field in Word.
What i need is a way to get the filtered items of the list into a Word document (template) as a table.
I know how to do it with a single List Item but not for the complete list. With the Single item it works great with Content Controls but not for multiple items.
We use Sharepoint 2010 and Nintex. My knowledge of JS is zero and we are not allowed to use SPD.
This is not possible with nintex workflow. You need to create a custom workflow using visual studio to achieve this kind of behavior.
You could build an HTML file via a Build String and Web Request (w/ PUT) actions. Then use the Convert Document action to convert it into a Word doc.

How to arrange items in descending way in sitecore using sitecore news-mover model?

I am working on sitecore project,where I have to access items in descending form.
How can I access Sitecore news mover model in descending order?
I am using Sitecore news mover model in my sitecore structure. Where I am accessing news mover model to accessing sitecore items in ascending way, but according to my project requirement how can I arrange the items in descending form?
I have tried to do with removing some item templates, but descending order is not appearing. Should I make any changes into other file?
We really need to see some code otherwise it is a total stab in the dark. Assuming that all you have to do is reverse the current order of the displayed item then you simple need to Reverse() the list, e.g.
var newsArticles = Sitecore.Context.Database.SelectSingleItem("/sitecore/content/home/news/2013").Axes.GetDescendants().Reverse();
You obviously need to handle the client "sort by asc/desc" functionality.
You might want to look at:
c# Trying to reverse a list
Of course, it would be much better to index and search using Lucene.
i solved this problem by simply add a config file in
App.config>>Include>>NewsMover.config
Then after specify your Template's path in NewsMover.config as following
<template id="user Defined/Home/Pages/Article Page" sort="Descending">
(Here Article Page is my Page Template which Created in user define Template section)

Playframework 2 include a updatable combobox in a list (not a form)

I am using play framework 2.0 .I a page where I list all the elements that the user can edit/delete. one of the listed elements in a look up from another table. I have coded a select in the forms and that works fine.
I would like to include the combo box in the displayed list, so the user can update it right there without having to drill down into each element to update the field. Is there a way to do this? I want to listen to the change in the combobox and update the underlying model.
I tried a few iterations, but the select box seems to want a play.api.data.Field , and not the value I provide.
the parameters to the page is a pageable list like this
#(currentPage: Page[Deal], currentSortBy: String, currentOrder: String, currentFilter: String)
I don't know if I understand the issue, but I think the problem you are stating would be better solved at the client, with some ajax in it...
otherwise, you would be issuing a whole page refresh every time the user updates the items
I would expose the pageable list like a rest-json web service, and I wuld call it from javascript, binding the on-change event...
Here you have an example using select2 to do the lookup and consumign a rest web service: http://bb-jugar.rhcloud.com/assets/js/tmp/select2/demo.html

Word templates populated automatically from list fields from a SharePoint custom list?

Is it possible to automatically create Word documents which include list fields from a custom SharePoint list?
here is the scenario: - custom list (over 100 columns) - Word templates (not sure where is best to store them yet) - Entry Form will provide data for the templates (or partial data, ie Client name, Sales Rep) - a form that will have buttons (ie 'Create Order Form', 'Create PO')
the idea is to be able to generate partial populated templates from a custom list with a puch of a button.
Sorry to sound like a commercial :) but the company I work for has a product that allows you to do that: OfficeWriter SharePoint integration and in specific the SharePoint developers section. You can see some samples in there of similar things.
Good luck!
sure you want it in Word?, Excel is more often misused for this (make some connection i tihnk odbc or so).