Custom list with special permissions
Hi There!
Is it possible to have special premissions in 1 field of a list. For example, a ¨status¨ field that can only be updated by the admin. Thanks for your help!! Ignacio
If you want use above codeplex solution, You can deploy this your SharePoint farm using Powershell commands
You can add the solution using "Add-SPSolution" command
Add-SPSolution c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp
Once you have added it, you can deploy the same using "Install-SPSolution" powershell command.
http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/12/02/adding-and-deploying-solutions-with-powershell-in-sharepoint-2010.aspx
After this activate the feature related to above solution. Remaining steps are available in that codeplex solution on the configuration.
Other option is you can add the JQuery script to the NewForm.aspx or Editform.aspx wherever applicable to a CEWP and provide the target audience for that webpart so it will execute the script only for them.
http://www.csgpro.com/post/41
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
Similar Messages
-
hi,
i have a sharepoint custom list with Title and image attachments, now i want to display image attachments in div based on the title.i am using the below code only
SPSite mySite = new SPSite("http://sharepoinsiteaddress");
SPWeb myweb = mySite.OpenWeb();
SPList myList = myweb.Lists["Announcements"];
SPListItem myListItem = myList.GetItemById(1); foreach (String attachmentname in myListItem.Attachments)
String attachmentAbsoluteURL = myListItem.Attachments.UrlPrefix // gets the containing directory URL
+ attachmentname;
// To get the SPSile reference to the attachment just use this code
SPFile attachmentFile = myweb.GetFile(attachmentAbsoluteURL);
// To read the file content simply use this code
Stream stream = attachmentFile.OpenBinaryStream(); StreamReader reader = new StreamReader(stream);
String fileContent = reader.ReadToEnd();
here i am using panel, how can i attach this attached image to panel -
Auto Clearing of Customer Account with Special G/L W
Dear Experts,
Currently auto clearing of customer account with norm items is running smoothly.
When we tried to run the same for Special G/L Indicator "W' in F.13 tcode , it is not happening (Category 'W' special G/L transaction were
not selected).
Even we tried to change the rules in Ob74 but no luck.
We can do manual clearing through F-32 but the volume is very high on every day.
Since we considered Open PDC's is one of the criteria for credit control customer in our business and hence system is blocking
all customers where documents having special g/l w even though net amount is zero in fbl5n.
Could you please suggest me how to do auto clearing.
Regards
ShaikHello,
Are you trying to clear Bill Of Exchange (SGL Code W) with F.13 ?
You have to use the remittance process (FBWE and report S_ALR_87012211).
Regards -
Clearing customer Items with Special G/L Indicator 'A' (down payment)
Hi All,
I've to clear two items of a customer by t.code F-32:
Both items, that I dysplays by t.code FBL5N (u20AC 20.000,00 and - 20.000,00), are with Special G/L Indicator 'A' (down payment).
Only the first one contains a 'tax amount' equal to 4.000,00.
When I process the open Items of the customer by t.code F-32, I expect to see the two items as follows
20.000,00
- 20.000,00
Instead, SAP displays as follows
24.000,00
- 20.000,00
So, I can't clear them as 24.000,00 is not equal to 20.000,00
Could anyone tell me ho to solve?
ThanksHi Maurizio,
first of all, thanks for your answer.
I've checked the tax category in the G/L account master data of the special G/L
account used for down payments (A). Tax category is equal to '+ '.
According to this setting, I posted a customer credit memo as follow:
Item 01; posting key 11; Customer account XXX; Amount 24.000,00
Item 02; posting key 09; Customer account XXX; Special G/L Indicator A; Amount 20.000,00 (tax code 20%)
Item 03; posting key 40; Debit tax account; Amount 20.000,00 (tax code 20%)
Now I've to clear the item 02 of that credit memo. When I try to do it by t.code F-32, SAP displays the amount 24.000,00 (with tax amount) and not 20.000,00.
Clearing that item, the system create a automatic posting for tax account of 4000,00.
This is my issue: SAP shouldn't create this posting for tax account.
Thank again.
G. -
How to display all items titles from custom list with checkbox to select for each user
Hi All,
I have a requirement in a sharepoint 2013 development project.
A custom list items will be created by admin with the following columns:
Title
Hyperlink
User business unit (This column which is a metadata will be a userprofile property)
In a page/form I have to display the list of titles with a check box based on each user business unit and each user will be allowed to check the list of titles and hit save. And then have to display the list chosen by the user in a webpart.
If they want to modify their list they have to go to the page/form again and will uncheck the list.
Am not sure whether I can achieve this through sharepoint out of box feature, I have not done any custom development.
Please provide your valuable suggestions/ideas on this. Thanks for looking on this !!!Hi,
Per my knowledge, there are no such OOTB features can meet your requirement, however, there is a workaround that if you can modify your requirement a bit.
Based on your description, you want different users be able to select values from a list and generate a list own by them.
If this is what you mean, we can do it like this:
1. Create another list "Users" which stores the names of every users;
2. Create a list "Result" which will be available for every user to add their own items, this list will have four Lookup columns and they look up to the "Users" list and the
list you mentioned before;
3. Users can add items into "Result" list by selecting the needed values from the other two list, then the items he/she created will be connected to them with the help of the
Lookup column which looks up to the "Users" list.
4. You can take use of the OOTB permission management of list to control the access of each item in the "Result" list, and it will be easier for you to manage and filter the
information you needed.
The links below about Lookup column for your reference:
http://office.microsoft.com/en-us/sharepoint-server-help/create-list-relationships-by-using-unique-and-lookup-columns-HA101729901.aspx
http://www.dummies.com/how-to/content/lookup-columns-in-sharepoint-2010.html
Best regards
Patrick Liang
TechNet Community Support -
How to create and handle sharepoint custom list with more than 300 columns?
Hi,
I have requirement for our project where in the input form is having around 320 columns in it.below are the columns and data types.
Single line of text-180
Yes or No Radio button -95
Date time control-35
Checkbox-10
I have checked the sharepoint boundry and limits for columns and data types.
https://technet.microsoft.com/en-us/library/cc262787.aspx
But how can we handle a sharepoint list with these many large number columns.
Is it safe to create all columns in a single list?
How it will impact the performance?
What is the other approach acheive this requirement?
Any help would be appreciated.
Regards,
PooviHi,
According to your description, my understanding is that you want to know if it has some performance issue and limitation when create large number column in a list.
When creating columns in the list , you can still create all 320 columns in the list. But when retrieve the items in a view, then there is a list view threshold limit which causes the performance issue, see the link below:
Sharepoint list column limit
To handling the large number columns, I suggest you can distinguish the column with business logic to create in different list, it will be clear to display the logic relationship.
Thanks
Best Regards,
Jerry Guo
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Customer listing with address data and credit limits
Hello all,
I need a report I can download to Excel detailing address data and credit limits by customer.
Many thanks.Hi
You can not get the report with address details from standard reports. You have to download the address from table level to excel and you can do what ever you want. If you want a special report what you want you have to contact your programmer (ABAP). -
Customized Roles with Split Permissions
We are running an Exchange 2013 environment using Outlook 2013. We did the install using split permissions because the Exchange Administration and AD Administration are going to be done in two different places. We have had lot's of permission
issues with the split permission install. We now need to figure out a way to created a customized role in Exchange that will allow users to only create/enable/move mailboxes AND add/remove people from Distribution Groups. To this point I have made
a copy of the Mail Recipient Creation role and have been removing role entries from the copy. I'm just not really sure which roles I should be removing. Any guidance on what roles would be needed?Hi ,
Thank you for your question.
We could refer to the following steps to achieve your requirement:
1. Customized role
Create mailbox:
New-Managementrole –Name “Create Mailbox” –parent “Mail recipient Creation”
Get-ManagementRoleEntry “Create Mailbox\*” | where {$_.name –ne “New-maillbox”} | Remove-ManagementRoleEntry
Then we could type “A”.
Enable mailbox:
New-Managementrole –Name “Enable Mailbox” –parent “mail recipients”
Get-ManagementRoleEntry “Enable Mailbox\*” | where {$_.name –ne “Enable-Mailbox”} | Remove-ManagementRoleEntry
Then we could type “A”.
Move mailbox:
New-Managementrole –Name “Move Mailbox” –parent “move mailboxes”
Get-ManagementRoleEntry “Move Mailbox\*” | where {$_.name –ne “New-MoveRequest”} | Remove-ManagementRoleEntry
Then we could type “A”.
Add user to Distribution Group:
New-Managementrole –Name “Add user to DL” –parent “Distribution Groups”
Get-ManagementRoleEntry “Add user to DL\*” | where {$_.name –ne “Add-DistributionGroupMember”} | Remove-ManagementRoleEntry
Then we could type “A”.
Remove user from Distribution Group:
New-Managementrole –Name “Remove user to DL” –parent “Distribution Groups”
Get-ManagementRoleEntry “Remove user from DL\*” | where {$_.name –ne “Remove-DistributionGroupMember”} | Remove-ManagementRoleEntry
Then we could type “A”.
2. Customized role group and Role was add role group:
New-RoleGroup –Name “Manage Recipients for Helpdesk” –Roles
“Create Mailbox”, “Enable Mailbox”, “Move Mailbox”, “Add user to DL”, “Remove user to DL” –RecipientOrganizationalUnitScope “contoso.com/Users”
3. Add the user you want to grant this connect-mailbox permission to this role group through EAC;
4. Test.
If there are any questions regarding this issue, please be free to let me know.
Best Regard,
Jim -
Custom List with for-each loop
How do I get a list I am making to be able to be used with a for-each loop?
As far as I know there is no "for-each" loop in Java, there is however a "for" loop. Is that what you're referring to?
To use a for loop, let's say you have an array like the following, you could iterate through it like this:
String[] str = new String[]{"a", "b", "c", "d", "e"};
for (int i = 0; i < str.length; i++)
System.out.println(str);
hope this help you get started ;-) -
In my project I am using SharePoint Online 2013 and there is a custom list with two content types. While creating a new item in that list, can we show the content type drop down list along with other columns? While editing an item I am able to view the content
type dropdown in the edit form associated with the list. Can we enable the same for the default newform as well?In my project I am using SharePoint Online 2013 and there is a custom list with two content types. While creating a new item in that list, can we show the content type drop down list along with other columns? While editing an item I am able to view the content
type dropdown in the edit form associated with the list. Can we enable the same for the default newform as well? -
Issue with dropdown menu on Custom List Form
Hello everyone,
Recently I created a custom list with a few lookup columns in it. When I open the form in Internet Explorer 9 or 10, the dropdowns pertaining to the lookup columns are extremently wide, even though each dropdown only contains 2 characters. However,
if I open the form in Google Chome, and Firefox, the dropdowns are displayed properly.
IE 9 Dropdown:
Chrome Dropdown:
If anybody has run into this issue and can point me in the right diretion, I will appreciate it. Thank you
Fausto Capellan, Jr - SharePoint AdminHi Fausto,
According to your description, my understanding is that the drop-down list boxes of the lookup column became wide when using IE 9 or 10.
Did you customize the list form in InfoPath?
Per my test, the width of the drop-down list boxes can be customized in InfoPath.
I tested in my environment, and the lookup column worked fine in IE 9 or 10.
I recommend to add the SharePoint site to Compatibility View in IE to see if the issue still occurs.
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Creating custom form with content type list - Shaepoint 2013 list
Hi All,
I have a list with a content type. So basically i have the default content type and another custom one.
I would like to customize the forms and taught of using sharepoint designer.
Is this a good approach or is it better using infopath.
When i try using infopath i don't know how i can using content type to create forms.
I basically have 2 forms based on the content types how can i separate this when using custom forms and what would be the best practice?
Cheers and thanks in advanceHi Patrick,
According to your description, you want to create a form for each content type in a custom list with multiple content types. Is it right?
If we use Infopath to customize forms for a list with multiple content types, it only customizes the default content type, the forms for other content types don't have changes.
For your requirement, I suggest you use SharePoint Designer to create forms for content types.
More information about how to create forms using SharePoint Designer 2013:
http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2012/09/20/how-to-create-custom-forms-using-sharepoint-designer-2013.aspx
Best Regards,
Wendy
Wendy Li
TechNet Community Support -
If I transfer files to a new hard drive and "special permissions files" are
I am installing a new, larger, hard drive in my Powerbook G4. I want to "clone" the old hard drive onto the new one. However, when transferring files to a PowerMacG4, as an intermediary in the process , via Target Disk Mode , I get the message that "certain files with special permissions will not be copied".
I did check the messages in this forum and found that there is a way around this problem. However, it seems that I would need a clean hard drive to do this and I don't want to reformat my G4 PowerMac in order to use that drive as an intermediary in the process.
The simple question is then: What will happen if I copy the G4Powerbook files via Firewire to the G4PowerMac drive, ignore the permissions warning, and then transfer that data to the newly installed drive in the Powerbook???? Will there be important systems files missing, or will some of my programs simply not work. Perhaps I could then just reinstall anything that's not working (that required special permissions)?
This probably sounds like a stupid question to you Mac gurus, but I've never really understood the significance of "permissions".
Thanks
TrapperMDYou cannot simply copy files from one drive to the other. Also, if you clone to the hard drive in another computer, then you must use a separate partition on that drive. You cannot clone to a drive that already has OS X installed on it.
The cloning process works as follows:
How to Clone Using Restore Option of Disk Utility
1. Open Disk Utility from the Utilities folder of the drive you are cloning.
2. Select the backup or destination volume from the left side list.
3. Click on the Erase tab in the DU main window. Set the format type to Mac OS Extended (journaled, if available) and click on the Erase button. This step can be skipped if the destination has already been freshly erased.
4. Click on the Restore tab in the DU main window.
5. Select the backup or destination volume from the left side list and drag it to the Destination entry field.
6. Select the startup or source volume from the left side list and drag it to the Source entry field.
7. Double-check you got it right, then click on the Restore button.
8. Select the destination drive on the Desktop and press COMMAND-I to open the Get Info window. At the bottom in the Ownership and Permissions section be sure the box labeled "Ignore Permissions on this Volume" is unchecked. Verify the settings for Ownership and Permissions as follows: Owner=system with read/write; Group=admin with read/write; Other with read-only. If they are not correct then reset them.
For added precaution you can boot into safe mode before doing the clone.
Why reward points?(Quoted from Discussions Terms of Use.)
The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values. -
Checks if item field link exists into a custom list
Hi;
I have a custom list with 2 columns : Title and SITE (field link)
Title (text) :
SITE (link) : URL + DESCRIPTION
I would like to write in programmming a code which allows to checks before to add a new item if this item exists or not into the list in using only the DESCRIPTION or URL field.
Like this :
if(DESCRIPTION !exists)
{ add item }
else{ show message : the site exists }
RegardsHi,
We can use event receiver to achieve your requirement. The following code for your reference:
using System;
using System.Security.Permissions;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Utilities;
using Microsoft.SharePoint.Workflow;
namespace SharePointProject5.EventReceiver1
/// <summary>
/// List Item Events
/// </summary>
public class EventReceiver1 : SPItemEventReceiver
/// <summary>
/// An item is being added.
/// </summary>
public override void ItemAdding(SPItemEventProperties properties)
base.ItemAdding(properties);
if(properties.AfterProperties["SITE"]!=null)
string linkField=properties.AfterProperties["SITE"].ToString();
string urlValue = linkField.Split(',')[0];
if (CheckItemExists(properties.List, null, urlValue))
properties.Status = SPEventReceiverStatus.CancelWithError;
properties.ErrorMessage = "The site exists.";
private bool CheckItemExists(SPList list, SPFolder folder, string urlValue)
SPQuery query = new SPQuery();
if (folder != null)
query.Folder = folder;
query.Query = @"
<Where>
<Eq>
<FieldRef Name='SITE' />
<Value Type='Text'>" + urlValue + @"</Value>
</Eq>
</Where>";
SPListItemCollection found = list.GetItems(query);
return (found.Count > 0);
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Custom list column not showing up in View Order by or Group by dropdown list
Hi All,
I have created a custom list with a custom column called "Description". Some items in the list do not have a description. What I wanted to do is create a view where the items with a description show first, and the items with no description are
at the bottom of the list. I thought I could make a simple view that uses the Order by or Group by on the description column.
The problem I am having is the description column doesn't show up in the dropdown list for either Order by or Group by within the custom view. Can someone please tell me why this happens and if there is anything I can do to rectify this problem.
I hope you can help
ColinHi,
I believe the "Description" field type is Multiple Lines of Text. Sorting doesn't allow in this field type. In order to do the sorting, you would require to create additional column like single line of text column (note that it supports only 255
chars and require to truncate the data if more than 255) and update the data using event receiver or workflow. and do the sorting with that column.
kmhsad
Maybe you are looking for
-
Officejet Pro 8620 All in One Will No Longer Scan in Color
Hello, I have an Officejet Pro 8620 all in one. I was scanning a few items last night and the first few items came out in color fine. Then all of the sudden as I continued to scan the next few images would only scan in black and white. I cannot see
-
I'm using OS 10.4.3 and DVD Player 4.6. My dvd drive will not read pre-recorded disk or blamk disc. Could it be software related? G4 Mac OS X (10.4.3)
-
Digital signed File Upload to XI (PI)
Hello we need to provide high End-to-End Data Intregity. We upload files to XI via FileAdapter, put them to the KM and provide them for download. Can the XI (PI) sign these Files? Can we use the XI (PI) as CA (Certification Authority)? What are the B
-
Workflow for converting PAL DVD to NTSC
Hi, I have read this thread "http://discussions.apple.com/message.jspa?messageID=7387015#7387015" but am a little unclear and would appreciate some help. I have shot 3 short movies in PAL anamorphic, edited in Final Cut Express HD 3.5, exported using
-
Where is i18n.jar in J2sdk1.4.1 ?
Hello, In j2sdk1.3 version, "i18n.jar" used to be in /lib directory. However i found this jar file missing in j2sdk1.4.2 version. Is it replaced by other jar file ? I couldn't find any information relating to this in SUN release notes. Can anyone hel