10

Hiding these links from that many locations actually causes a lot of pain and anyway is not secure. An advanced user could just enter the direct link to the view creation page, and all your efforts would be to no purpose. Thus, this is a permissions question, and all you need is just to set appropriate permissions to your portal users. To achieve this, ...


5

You have two options to achieve your requirements (1) OOTB Solution In the choice field settings, you can allow Fill In option to Specify your own value. Advantage of this solution: No code required Disadvantage of this solution The issue of this solution, it always shows a text box to add your own value whatever the selected value is other or not. (...


5

In my opinion, No need to create a sperate list with a complex workflow to achieve your requirements, What I recommend is to do the following: Create a Custom View that filtered by DDL=Approved In Totals setting, beside any fields select Count I think the above solution should match your requirement in an efficient and simple way :)


4

First of all some notes about this (weired?) sharepoint behavior (when html select renders as input). If you have a lookup field in your new\edit forms, this lookup may renders differently depending on browser and (wow!) items count in lookup list. When in lookup list items count less than 20, than all ok, in every browser lookup field renders as html select:...


4

Could be a script conflict, error in the world clock that's not visible, CSS override, etc. One thing you can try is opening the Developer toolbar in IE (press F12) and click the script tab, then click Start Debugging. That should reload your page and throw any script errors if there are any. However, chances are it's a CSS issue, does the world clock have ...


4

The ID of the control will differ, try to use $("[id$='Lookup']") to get an element ending with "Lookup". Then you can use .val() to get the selected value of the dropdown: var id= $("[id$='Lookup']").val();


4

You don't necessarily have to even touch the list itself, just a quick modification on your data connection should do the trick. Sounds like you've successfully created your Data Connection and have set up your drop-down to pull from that Data Source correct? If so, just do the following and your drop-down will be in alphabetical order... Select Data ...


3

This is a notorious and well-known issue in SharePoint. Background Let me explain why it happens: SharePoint is a Microsoft product, as is Internet Explorer, and it's quite a customary thing when some features work in IE but don't work in other browsers. Other browsers always were and still are "partially supported" by SharePoint. This is what happens ...


3

I'd actually suggest using Managed Metadata Services for this. The reason being, you want to include synonyms on your list (UMASS vs University of Massachusetts). Well, MMS fully supports this. You just create a term set with a list of all the universities, set up the synonyms for all the ones you want, and add Managed Metadata fields in the web sites where ...


3

Use the F12 tools. Depending how many values are in your Lookup Field SharePoint will render it differently. I do believe the thershold is 20 items. Under 20 the Lookup will render as a Select field. ex $("select[title='"+ fieldTitle +"']").val(); Over 20 ex $("input[title='"+ fieldTitle +"']").val(); if you want to get the ids of the input there ...


3

That's correct as suggested by Robert. But just in case, if there are more than one look up columns add an extra filter as shown in the below script <script type="text/javascript"> $(document).ready(function () { if ($("[id$='_Lookup'][title='<<FieldName>>']").length > 0) { $("[id$='_Lookup'][title='<<...


3

I don't know if this could be considered an answer as opposed to just a comment. I don't have enough reputation to post a comment, but I can post an 'answer'. :D You can't use SP Designer to customise a Gantt View in SP2010, unfortunately. As for javascripting, I did a bit of digging on this by creating a Gantt view with a lookup, and then I copied the ...


3

I use Chosen.js Easy to implement, and I used this week with a lookup with more than 500 itens, works really fast and easy. you will need: jquery-1.12.1.min.js chosen.jquery.js chosen.css


3

$(document).ready(function(){ if($("select[title='_title of column_'] option:selected").val() == "Choose.."){ $("select[title='_title of column_']").val("In progress..."); } }); not tested, but something like that should do it


3

Try the following: using (SPWeb web = new SPSite(siteurl).OpenWeb(weburl)) { SPList list = web.Lists.TryGetList("MyList"); SPQuery query = new SPQuery(); query.Query = "<OrderBy><FieldRef Name='ID' Ascending='TRUE' /></OrderBy>"; SPListItemCollection collection = list.GetItems(query); MyDropdown....


3

Assuming is infopath, you can create a new rule in your "RAM" Field. Select the "RAM" Field Go to properties tab > Manage rules On manage rules window, click "New" > "Formating/Format" Check the checkbox, hide this control. Create a new condition for this rule, something like: if "device" field equals to "Desktop" Or >> if "device" field equals to "...


3

Add below line of code under dropDep.DataBind(); ListItem newItem = new ListItem("Not a dept", "0"); dropDep.Items.Insert(0, newItem);


3

You have made some spelling mistakes,like in your screen shot In SubDomains list display name for column SecondaryDomian In your script it shows SecondaryDomain, change column value use bwlow script <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script> <script type="text/javascript" src="//cdnjs.cloudflare....


2

You can set the navigation items in manual order mode. Go to Site Settings > (look and Feel) Navigation (../_layouts/AreaNavigationSettings.aspx) Within the page you can choose for Sort manually. Then you can use Navigation Editing and Sorting to give it your sorting.


2

I just implemented such a solution a couple of weeks ago Here is a very good post that will explain all.


2

The dropdown will expand for the longest option in there ("Resolve ccake/EOM...") - guess its not an option to cut that down a little? In that case then you can fix the width of the dropdown (html select) using CSS. You will have to use something like IE developer toolbar to figure out what css selector to use to target the dropdown - something like class ...


2

IE renders drop dows with less than 20 items differently than with more than 20. If the number is less that 20, it behaves exactly like Firefox. If it's more than 20, it renders differently whereas Firefox functions in the same way. Based on what you're saying, I'm assuming your drop down list has more than 20 items. There is a SPServices operation that ...


2

Yes, you can put the link inside SPSecurityTrimmedControl control like this <%--content %> Following link shows the possible values for Permission String: http://sympmarc.com/2008/12/31/spsecuritytrimmedcontrol-possible-values-for-permissionsstring/


2

The field has to be enabled prior to submission, typically via the PreSaveAction function. Marc has it demonstrated here, I swapped in your code: $(document).ready(function() { $("select[title$='Procurement Stage']").attr('disabled', 'disabled'); }); function PreSaveAction() { $("select[title$='Procurement Stage']").attr('disabled'...


2

I would suggest that you should setup Business Connectivity Services if you can. This will allow you to connect to your external data sources in a managed way. You would then setup an External Content type and generate an external list from that. From there you would then query the list for your data and display the results with the dropdown list. A lot of ...


2

Sorry Mihir I misread, you need to look at the MSDN real world branding post. Code from MSDN: <div class="customTopNavHolder"> <PublishingNavigation:PortalSiteMapDataSource ID="topSiteMap" runat="server" EnableViewState="false" SiteMapProvider="GlobalNavigation" StartFromCurrentNode="true" StartingNodeOffset="0" ShowStartingNode="...


2

$("#my_lookup_input_id option:selected").val() This should get the selected value but as indicated by PirateEric you would need to call this again if the value changes.


2

So, after some more digging this morning and banging my head I found a solution using SPServices. First, convert the field from a complex to a simple drop down: $().SPServices.SPComplexToSimpleDropdown({ columnName: "myColumn" }); Then, you can get the ID (and then the value) by using what SPServices has cleverly injected: $('#...


2

At the level where you have the site that has subsites go to: Site Settings --> under Look and Feel choose "Navigation". The attached picture should explain the rest. Just make sure to have the feature Sharepoint Server Publishing Infrastructure at site collection level activated and you're good to go.


2

I take it that within SharePoint Designer you are viewing the form in a dataviewwebpart, and the form elements within that webpart XSLT are being rendered via a "SharePoint:FormField" control. The difficult part here is that SharePoint doesn't give you any real configuration options with that control in SharePoint Designer. It automatically renders the ...


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