Tag Info

Hot answers tagged

1

You'll get an array back if you use loadQuery rather than load. In the example below allDocs is an array. var targetList = ctx.get_web().get_lists().getByTitle('Shared Documents'); var query = SP.CamlQuery.createAllItemsQuery(); var queryResults = targetList.getItems(query); var allDocs = ctx.loadQuery(queryResults);


1

your question is confusing? I think what you mean is: You have a list, the list has a column. Within this column you want to auto generate a unique number when an item is added with the format of: item 1=1000 item 2=1001 item 3=1002 ... solution: you need to do this through code, in visual studios create an event receiver for the list, there are two ...


1

You should be able to do this with an SPD workflow. Create a new Product ID list, Create a reusable workflow that adds, edits, and deletes the products ID's from this list as they are added, edited, or deleted in the 20 other vendor lists. Then associate the reusable workflow to each of the vendor libraries.


1

I'm assuming you're talking about using the FilterField and FilterValue query string parameters: You can filter on fields that are not displayed in the dataview. I would actually probably make a seperate querystring parameter for your data view in SP Designer, then you can use an OR condition in the list filter and not make any new fields (you also avoid ...


1

You can make use of Calculated columns, create your column 'TitleDescription' with 'Calculated Column' as type and use the below formula to concat the Title and Description, =[Title]&[Description] The above code will concat the two column value. EDIT: Calculated columns in SharePoint 2010 are similar to formulas in Excel spread sheet. Their result ...


1

I would say the style library is a good place to store css files. The reference itself depends on how to you want to have the scope of the changes. If you are okay with having a global site reference, use the masterpage or the alternatecss property in site settings, masterpage section. if you want to narrow down the scope, you can add it at the page ...



Only top voted, non community-wiki answers of a minimum length are eligible