I have a small problem that I need to deal with. I have to create a form in SharePoint Designer 2010 with two fields: User name and Group. These are dropdown lists from which the user can select user and group and save the user's ID and the group's ID in a SQL table. The problem is I do not know how to populate the list with the information needed: Users names, based on their IDs and Site groups, based on their IDs, all from the current site. Do you have ideas?
This is not something you can achieve through SharePoint Designer. SharePoint Designer is made with Power Users in mind. What you are looking for is more of a developer task. As such, you would need to use Visual Studio.
Related
I have a simple VB6 application where I input information and store it on SQL SERVER. I went ahead and linked Access 2007 and SQL Server so that all my tables are in Access for report generating purposes. I created a mock report, and was able to generate a report for all users from the sql Table (from Visual basic) Now my question is this, on the report form in the VB application, I have a combobox that's being populated with Client Names from the sql server. What I need to do is allow the user to choose a name from the combobox and click PRINT and allow them to only generate the report for that one user. The names in the combobox have ID's assigned to them. I'm having a hard time coming up with a way to edit the query in access (where id=17) from VB to allow the report to be only generated for one user. Thanks for any and all help!
Dont you think that sending a query from VB6 to Access would be a better way instead of modifying the queries in Access.
Hope I understood your question correctly.
I have a SharePoint list that has a bunch of colunms. I need to ad an additional column. This column needs to be populated with the numbers of the items in the list, i.e. 1 - n-th.
I'm not sure how one would do that. Would I need to create it using simple SharePoint or using SharePoint Designer?
There already is such a column — ID. It's automatically assigned from a counter. However, when you delete an item, a gap in numbering emerges.
And no, you probably can't create a similar but custom column using plain SharePoint or SharePoint Designer. You would need to create an event receiver do assign the values programmatically.
I have a list in SharePoint 2010 that has external items.
It is easiest to explain the specific scenario.
We have sales orders that have information that is being pulled from our MRP system.
The unique key is the Sales order number.
There are several columns in the list that do not come from MRP that show the status of the order on our production floor.
The way that it works now, every time a new sales order is created, the user must go to the SharePoint list, click new item, type in the SO number, click the check external item button and click ok which subsequently populates several fields in the list..... Then someone out on the floor populates the rest of the info
The part in bold is what I would like to automate.
I understand it may need to be a stored procedure or some powershell script.
The issue is, that because of the external content type in the list, all of the canned SharePoint tools wont allow me to feed data back into the list.
One option is to create an SQL server trigger. This trigger would fire whenever a new sales order is created in your source database. You could make it a CLR trigger, and in the function make use of the SharePoint client interface.
After you provided a clearer description of the problem: I believe that you're looking for something like the list event handler. This will run on the events you care about, and you can pull from the database at the appropriate time.
Essentially, you need to make a Visual Studio SharePoint project (from my past experience this method requires you to use VS right on the SharePoint server, or else you have to copy a lot of DLLs manually from the server); and make an event receiver.
I am creating erp software in VB.NET 2010. I want to create an auto suggestion box. If the user fills in the first letter of the customer name, a suggestion list of all customer names starting with same latter should be appear in side than user will select from it. Also, when I select a Customer name, related information should be appear in another text box.
i am a Sharepoint administrator of a small farm. One of our solution provider has created a huge amount of WebSites at an SharePoint 2010 that have a hierachialy order. And every WebSite has a Custom list with the name "User. Now i want to extract from every WebSite this list into one csv file. The best would be to also extract the Name of the WebSite directly as a new column.
I understand that i have to use the SPSiteDataQuery Class but i am new to developing for sharepoint so i am not sure where to start. Also i would like to have it to run weekly, like some kind of service.
I should note that i have some knowledge in c#
Can someone help me please ?
MG,
Using SharePoint Timer Job you can execute you code weekly base then fetch User data from all webs.