Remove/hide "new item or edit this list" link of sharepoint online (office 365) with csom
as title, I delevelop an app for sharepoint online, so I must use client api to operate sharepoint object. now, i need to remove/hide the link “new item or edit this list”, not use js do it, what can i do? help!!
Hi,
Per my understanding, you might want to remove the link “new item or edit this list” of a list view web part using Client Object Model.
As there is no such property in
WebPart object can be used to hide/remove the link, I suggest you apply custom CSS style to the page which contains the list view
web part to hide it.
Best regards
Patrick Liang
TechNet Community Support
Similar Messages
-
How to change the url of "Add New Item" of a particular list in SharePoint 2013???
Hi Guys,
How to change the url of "Add New Item" of a particular list in SharePoint 2013???
I need to redirect it into the page where I have created my Visual web part.
Please suggest
Warm Regards,
Tony JoyHi,
There are multiple ways to change the form url like javascript, SharePoint designer, custom code, editing default form to have custom web part etc, Please follow the url below that describe diffent methods and steps
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ec2769a0-683c-4023-8804-b596e4f92a3a/change-default-forms-on-custom-list?forum=sharepointcustomizationlegacy
Hope it helps!!!
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, Ajeet -
Cannot add new items to a value list in AW database
I have a database which I have been using for many years. One of the fields is a value list. I just went to add another item to the list, and no matter what I do, the Create button is grayed out. I have another value list in the same database that works fine.
There are currently 170 items in the value list that is causin the problem, but I didn't think that there was a limit to the number of items that can be is a value list. (At least there is nothing in the AW technical specifications to indicate thin. I duplicated the existing database, deleted about 20 items from the list, then saved the file, and reopened it, and still cannot add new items to that value list. Does anyone know what might be causing the problem?Oops
I read too fast.
Here is a short script which may help.
Replace the pop-up item by a text one and edit the property myList in my script to fit your needs.
Select the field to fill and run the script.
Then choose an item in the displaid list. It will be pasted in the selected field.
This trick would give you to work with a "no limit" list of items.
-- [SCRIPT DB fillFieldFromAlist ]
Assuming that
the front document is a database one
and that a text field is selected,
run the script to select an item in a list
and paste it in the field.
Yvan KOENIG, Vallauris (FRANCE)
le 19 mars 2007
property MyList : {"item 1", ¬
"item 2", ¬
"item 3", ¬
"item 4", ¬
"item 5", ¬
"item 6", ¬
"item 7", ¬
"item 8", ¬
(* edit the list to fit your needs *)
tell application "AppleWorks 6"
activate
tell document 1
set laClasse to (get class of selection)
if laClasse is not field then return (* the selection is not a field *)
set myItem to choose from list MyList
if myItem is false then return
set the clipboard to myItem's item 1
select menu item 7 of menu 3 (*
Tout sélectionner •• Select All *)
paste
end tell -- document 1
end tell -- AppleWorks
-- [/SCRIPT]
Yvan KOENIG (from FRANCE lundi 19 mars 2007 16:44:53) -
JQuery Tutorial needed to customize Add New Item and Edit Item forms
Hello,
I need a tutorial to use JQuery to customize the UI Screen of SharePoint to add a new item in a list.
since I don't have prior UI experience it will be nice if the tutorial is specifically targetted towards customizing the automatic form which is presented by sharepoint when we try to add an item to a custom lists.
val it: unit=()Hi,
According to your post, my understanding is that you want to customize the New Item and Edit Item forms using jQuery.
The following examples for your reference:
http://ankursharepoint.blogspot.com/2012/10/jquery-for-tabbed-navigation-in.html
http://social.technet.microsoft.com/wiki/contents/articles/21730.sharepoint-2010-conditionally-hide-fields-on-standard-list-forms-using-jquery.aspx
https://www.nothingbutsharepoint.com/sites/eusp/Pages/10-jQuery-Snippets-for-SharePoint-2010.aspx
jQuery Tutorial
http://www.w3schools.com/jQuery/
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support -
Stop Editing this list....how to stop it!
How do I ensure that when I click on a custom list in SharePoint Online it defaults to closed rather than ready to edit ie "stop editing this list"?
thanks in advance.
SteveHi,
According to your post, my understanding is that you wanted to stop editing a Custom List
and save the changes
in Datasheet View in SharePoint 2010.
In my SharePoint 2010, I add a new item for a Custom List and set the “Title” column’s value to “test” in Datasheet View.
After completing editing this list, I click this new item’s next row and the changes of this Custom List will be saved automatically.
And then, we can see the Custom List’s changes in Datasheet View and Standard View.
The results are shown as below:
I recommend to follow the steps as above to implement it.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Hi!
Version Info: SharePoint 2013 Server Standard (*BTW...I do not have access to Visual Studio*)
I have two lists, let's call them
-Assets
-Asset Checkouts
"Assets" is the parent list, and "Asset Checkouts" has a lookup column (multiselect) which is tied to the serial # column in the "Assets" list.
Basically, what I need to accomplish is this: I would like to be able to select multiple list items in the "Assets" list, and create a new item in "Asset Checkouts", and pre-fill the multiselect lookup column in the NewItem form
for "Asset Checkouts" with the values from the selected items in "Assets".
Any ideas or suggestions on how to do this would be most appreciated!
Thanks!Hi,
According your description, you might want to add new item in "Asset Checkouts" list when selecting items in "Assets" list.
If so, we can achieve it with SharePoint Client Object Model.
We can add a button in the "Assets" list form page, when selecting items, we can take down the values of columns of the selected items, then click this button which will create
new item in "Asset Checkouts" list with the values needed.
Here are some links will provide more information about how to achieve it:
Use
SP.ListOperation.Selection.getSelectedItems() Method to get the list items being selected
http://msdn.microsoft.com/en-us/library/ff409526(v=office.14).aspx
How to: Create, Update, and Delete List Items Using JavaScript
http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx
Add ListItem with Lookup Field using Client Object Model (ECMA)
http://notuserfriendly.wordpress.com/2013/03/14/add-listitem-with-lookup-field-using-client-object-model-ecma/
Or if you just want to refer to the other columns in "Assets" list when add new item in "Asset Checkouts" list, we can insert the "Assets" list web part into the NewForm page
of the "Asset Checkouts" list, then when we add new item in the "Asset Checkouts" list, we will be able to look through the "Assets" list before we select values for the Lookup column.
To add web part into the NewForm.aspx, we need to find the button "Default New Form" from ribbon under "List" tab, then we can add web part in the NewForm.aspx.
In the ribbon, click the button “Default New Form”:
Then we can add web part into NewForm.aspx:
Best regards
Patrick Liang
TechNet Community Support -
Hide new item button in ribbon jquery
hello,
I need to hide new item button from list page through jquery.
thanks.
regards
krishnakumarAnother option is to hide them using CSS.
SharePoint 2010 Hide Ribbon button using CSS
Amit -
This list is too long to be synchronized with SharePoint WorkSpace
Hello,
I Have a List with 30500 items in Sharepoint Site Collections.When I synchronise this Lists using on SharePoint Workspace I get this message " This list is too long to be synchronized with SharePoint WorkSpace".
Someone Can help me.
Best regards,
FideleSharePoint Workspace has a maximum limit on lists of 30,000 items. The only way to sync the list you are trying to sync is reduce the number of items in the list. You can see the limit documented here:
https://support.office.microsoft.com/en-us/article/Synchronize-SharePoint-content-with-SharePoint-Workspace-752f639f-8532-4923-888a-284cfc79337e?CorrelationId=fb3297d1-5572-4da7-b97b-81c42308baa2&ui=en-US&rs=en-US&ad=US#__toc263166752
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
How do I get a list of inactive accounts in Office 365?
Hey guys,
How can I get a list of users that have been inactive for a period of time (30 days, 60 days, etc.) in Office 365?
The Portal will only give me numbers, but no account list and I need a list of what/who they are.
Thanks,Hi,
As far as I know, at this time the Office 365 portal is the best way to get this information, please log into your Office 365 portal to see the report that gives you the number of active and inactive mailboxes over time.
In O365 a mailbox is considered inactive if a user has not logged in for more than 30 days. Number of inactive mailboxes are grouped by the number of days the user has not logged in.
But if you need the detailed list, I suggest you post the question to Office 365 Forum, the experts there may provide a suggestion:
http://community.office365.com/en-us/f/default.aspx
Regards,
Melon Chen
TechNet Community Support -
In the days of Mobile me I was able to share my photos with people by simply giving them a link to my online photos. With Photostream this appears to be impossible? Is this so?
No that's not possible with iCloud, however there are ways of sharing photos, but first could you confirm your OS, iCloud doesn't work with OS X 10.4
-
Hello,
I am using Internet Explorer 9 to create a new item by launching Performance Point Dashboard Designer from browser.
When i click on "Add new item", an Iframe will open showing dashboard design redirect which keep loading for couple of minutes and the designer never opens.
Yes, there are working workarounds like opening these links in other tab or opening dashboard designer directly or by clicking on "Run Dashboard Designer" from BI Center homepage.
However, Can someone please help me how to get designer opened when "Add new item" has been clicked from PerformancePoint Content List from browser?
Thanks in advance.
NKV Prasad PanthangiAn Update :
I found this is due to the browser limitation.
I have downgraded my Internet Explorer Browser to IE 8 and did the following changes in my browser settings.
Tools --> Internet Options --> Navigate to Security Tab --> Click on Custom Level Button --> Under Download --> Select "Enable" radio box for Automatic Prompting for File Downloads.
Sadly, I cannot ask users to downgrade their browser to IE 8 because MS already stopped support for this browser and there are no other solution for this except going by workarounds.
This clearly says why people are moving away from PerformancePoint Services in SharePoint.
Thanks
NKV Prasad Panthangi -
Improvements to Export Item in Edit History List
1st off - I really like that there is an 'Export - (date/time)' item in the history list - thanks .
2nd - If a title could be added to the export, that would help.
3rd - If an export plugin could intervene - that would be cool too.
For example, my web plugin uses 4 phases of export, and I typically do it with 2 tree-sync exports, so I have 6 non-descript export entries each time I export after editing.
If I could have that web export condensed from 4 to 1 and have the tree-exports labeled to distinguish - it would be perfect!
Thanks for listening,
RobHi,
According to your post, my understanding is that you want to show edit mode when click the "Picture" fields.
We can use JSLink to achieve it.
You can follow the steps as below:
1. Save the following code as a js file(like PictureFieldTemplate.js).
// List View – Field open modal dialog Sample
(function () {
// Create object that have the context information about the field that we want to change it output render
var pictureFiledContext = {};
pictureFiledContext.Templates = {};
pictureFiledContext.Templates.Fields = {
//"Picture" is the column name. "Picture": { "View": pictureFiledTemplate }
SPClientTemplates.TemplateManager.RegisterTemplateOverrides(pictureFiledContext);
function pictureFiledTemplate(ctx) {
var url= ctx.CurrentItem[ctx.CurrentFieldSchema.Name];
var itemID=ctx.CurrentItem.ID;
var itemTitle=ctx.CurrentItem.Title;
return "<img alt='"+url+"' src='"+url+"' complete='complete' onclick=\"openModalDialog('EditForm.aspx?ID="+itemID+"','"+itemTitle+"')\" />";
function openModalDialog(url,title)
var options = {
title: "Item-"+title,
width: 600,
height: 600,
url: url
SP.UI.ModalDialog.showModalDialog(options);
return false;
2. Upload the js file into Document Library.
3. Edit the list view page.
4. Edit the list web part. Go to Miscellaneous -> JS Link.
5. Add the following URL into the JS Link textbox.
~site/Shared Documents/PictureFieldTemplate.js
Result:
If you just want to show edit mode when click a picture, SharePoint provide a column “Edit” to achieve this function.If you don’t want to use the default image, we can use jQuery to change it.
Best Regards
Dennis Guo
TechNet Community Support -
My requirement is that need to build a sharepoint app, the app need to deploy to office store, whether to display "Download a Copy" according to different login in user(sharepoint office365 user),
click the documnet, navigate to the other website, after get the document stream, i need to convert the stream to the other data format(pdf...etc), maybe i need the third-party dll to achieve it, so i think of sharepoint provider-hosted
way to handle the requirement.
i don't know whether there are the other way , if my way is the best, how to achieve it ?
ThanksHi,
According to your post, my understanding is that you want to hide "Download a Copy" according to the user permissions.
We can achieve it using jQuery and SharePoint REST API. Use REST API to check user permissions, then hide "Download a Copy" like this:
$("A[id$='Ribbon.Documents.Copies.Download-Large']").hide();
http://www.lifeonplanetgroove.com/checking-user-permissions-from-the-sharepoint-2013-rest-api/
For other questions, I would suggest you post it in a new thread, it would make others easier to focus on one question in one single thread and it will benefit other community members who stuck with the same question.
Best Regards
Dennis Guo
TechNet Community Support -
Creating a new address list for Exchange Online (Office 365) by two parameters
Good day!
I need to create two new address list in Exchange Online 2013 (Office 365) that users will choose the two parameters.
Address sheet1: No staff
Address Sheet2: Staff
Parameters address sheet not staff:
Parameter 1: Company
It must match the value - MyCompany
Parameter 2: job title
it must be different from the value - Staff
Parameters address sheet Staff:
Parameter 1: Company
It must match the value - MyCompany
Parameter 2: job title
It must match the value - Staff
Problems:
1) Is it possible to filter user mailboxes on the parameter of discrepancy?
2) Can not find the parameter values for the script field job title
https://technet.microsoft.com/ru-ru/library/aa996912%28v=exchg.150%29.aspx
https://technet.microsoft.com/en-us/library/bb738157%28v=exchg.150%29.aspx
While on the side of 365 in the user properties such parameter is:
http://joxi.ru/MAj0Jj7hGyDbme
Company option too.I got to build a team that I need (describes the necessary conditions)
and successfully held in PS 4.0 after connecting to the office 365:
1) Set-ExecutionPolicy unrestricted
2) $ UserCredential = Get-Credential
(Data Entry Administrator 365)
3) $ Session = New-PSSession -ConfigurationName
Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $ UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $ Session
4)
PS C:\Windows\system32> New-AddressList -Name 'TEST1234' -RecipientFilter {((RecipientType -eq 'UserMailbox') -and ((Com
pany -eq 'Company1') -and (Title -ne 'Student')))}
Name DisplayName RecipientFilter
TEST1234 TEST1234 ((RecipientType -eq 'UserMailbox')
-and (((Company -eq 'Company1...
As a result, the new address list TEST1234 immediately appears. (When creating a new letter in the menu "To"), but on the inside
it is empty (although there is 1 user which is fully consistent with those described in the filter conditions.).
= (
Tried a simple version:
Office365
не отображается в адресном списке.">The same thing - the only user with such parameters in AD -> Office365 is not displayed in the address list.
(After running for a list TEST123 more than two days)
Tell me what could be the problem? -
Sharepoint 2013 / Office 365 Document library item level permissions problem
Hello,
I'm looking for a solution to enable users to upload documents to a document library, the ability to view other documents uploaded to the same document library, but able to edit or delete those other documents.
With a list you can use Item-Level security in Advanced Settings but this is not available for Document libraries. I could use workflows to assign individual permissions to document, but the the library already contains over 2,000 documents and will continue
to expand so I don't like the idea of having that many individual permissions set.
Are there any 3rd party plug-ins or solutions to this issue?
Thanks,Try below:
http://www.hersheytech.com/Blog/SharePoint/tabid/197/entryid/28/Default.aspx
As it turns out the, setting Item-Level Permissions in a library is fully supported with PowerShell!
The PowerShell commands for changing this are very simple:
$web = Get-SPWeb http://YourSite/
$list = $web.Lists[“Your Document Library Name”]
$list.ReadSecurity = 2
$list.Update()
$web.Dispose()
Note the 3rd line which is where you determine the value for this setting using the following values:
1 = “Read all items”
2 = “Read items that were created by the user”
If you wish to modify the values for Create and Edit access instead, replace .ReadSecurity with .WriteSecurity with
the following values:
1 = “Create and edit All items”
2 = “Create items and edit items that were created by the user”
4 = “None”
For example:
$web = Get-SPWeb http://YourSite/
$list = $web.Lists[“Your Document Library Name”]
$list.WriteSecurity = 2
$list.Update()
$web.Dispose()
Also check
http://sppermissions.codeplex.com/
If this helped you resolve your issue, please mark it Answered. You can reach me through http://freeit-support.com/
Maybe you are looking for
-
How can I set home page for a new tab? how can i get firefox to open the home page every time i open a new tab in Windows vista home basic?? == This happened == Every time Firefox opened
-
How to free up 9Gb of hard drive space
I know this can be found by Googling, but it sometimes takes several sites. In the event it hasn't been posted here (hard to believe), here are a few steps to free up about 8-10 Gb on your Macbook's HDD. In my experience, none of these raise stabilit
-
My Macbook Pro will read CDs but not DVDs or executable DVDs. Is it a setting or hardware problem?
-
Firefox stopped displaying web pages. No address bar, status bar, nothing. The pages I try to load appear under the "windows" menu, but the "minimize" and zoom controls are grayed out. I downloaded and reinstalled 4.0b4, but this did not help. "inter
-
Sandbox in amazon not working.
Has anyone been able to sucessfully test their app in an amazon sandbox environment? We followed the instructions in the sdk; creating a JSON file and downloading the sdk tester. We got the sample file provided by amazon to work, but not the .apk pro