I am using SharePoint 2010. Any new entries in Datasheet view are not reflecting back both in standard view and datasheet view. But if the new entries are added through standard view, it is reflecting back both in standard view as well as datasheet view. What's going on there? Can somebody help me?
The datasheet view might have been created as a 'Personal' and therefore, any data entered via the view are not visible to the others via Standard 'Public' view. I'd assume the view may have been created without sufficent right for public view creation.
Related
I am writing a add-in for outlook 2010 using VSTO and c#.
From my add-in at run time I want to append some text to the subject of certain email messages in outlook 2010's preview pane.
A screenshot of what I am trying to achieve is below. In the screenshot please note that some of the messages have '[work email]' appended to the subject in red text. That is what I am trying to achieve.
Is there any way of doing this either from c# or a macro?
You cannot do that. You can either modify the subject (but you won't be bale to show the string in a different color) or you can set a user defined property and configure the folder view to show the message in red if that property is present (View Settings | Conditional Formatting).
The Outlook object model doesn't provide anything for displaying a part of the Subject string using different colors.
A possible solution is to customize the CurrentView of the Explorer or Inspector objects. To obtain a View object for the view of the current Explorer, use Explorer.CurrentView instead of the CurrentView property of the current Folder object returned by Folder.CurrentFolder.
The View object allows you to create customizable views that allow you to better sort, group and ultimately view data of all different types. There are a variety of different view types that provide the flexibility needed to create and maintain your important data.
The table view type (olTableView) allows you to view data in a simple field-based table.
The Calendar view type (olCalendarView) allows you to view data in a calendar format.
The card view type (olCardView) allows you to view data in a series of cards. Each card displays the information contained by the item and can be sorted.
The icon view type (olIconView) allows you to view data as icons, similar to a Windows folder or explorer.
The timeline view type (olTimelineView) allows you to view data as it is received in a customizable linear time line.
Views are defined and customized using the View object's XML property. The XML property allows you to create and set a customized XML schema that defines the various features of a view.
The XML definition describes the view type by using a series of tags and keywords corresponding to various properties of the view itself. When the view is created, the XML definition is parsed to render the settings for the new view.
To determine how the XML should be structured when creating views, you can create a view by using the Outlook user interface and then you can retrieve the XML property for that view.
To programmatically add a custom field to a view, use the Add method of the ViewFields object. This is the recommended way to dynamically change the view over setting the XML property of the View object.
I have created a task manager view in Microsoft Outlook which contains user defined fields as well as other Pre-defined fields in the view. I am trying to share this task manager with the rest of my team however, I cannot get it to show all of the columns as they appear on my screen on their screens. I am able to share the task manager but many of the columns are missing. It seems to be because the custom view I created isn't being shared with the other users. On my computer, the custom view is displayed and selected above "Simple list" under the Current View menu on the left and the others do no seem to have that as an option. Does anyone know how I can share the view? The tasks are already being shared I just need the View to be shared so my team can see all the columns properly. Thanks for any input you may have to offer.
Views are defined and customized using the View object's XML property. The XML property allows you to create and set a customized XML schema that defines the various features of a view.
Use the CurrentView property of the Explorer or Folder classes to customize the View in Outlook. An XML definition of the view can be exported and transferred to another PC.
Ok essentially what I did was I went to view - current view - define views and created a new view selecting Table and This folder, visible to everyone. Then I found pre-definied columns that weren't user defined columns that allowed free text typing like subject, milage, and billing information. Once finished adding all the columns I needed I applied the view. Then I went and changed the name of the columns by right clicking each column header in the task manager and selecting format column. there you chan change the label name to whatever you want the column to be titled. This way you did not have to worry with using user defined columns that can be tricky to share. After that I went back to view - current view - define views, and made a copy of the view I created selecting this folder, visible to everyone. Then you will want to right on the tasks manager name you created under the My Tasks list and select properties. Make sure to give everyone your sharing it with full permissions as owners so that they can all edit the task manager as they finish each task. Then I shared this task manager by right clicking on the name of my newly created tasks manager (listed under the My Tasks menu) and selecting "share". I checked the box in the email stating recipient can add, edit, and delete items in this tasks folder. Now everyone can see all information displayed in each column and edit it as well hope this helps.
I am just getting started with obj-c programming and cocoa.
Here is what I am trying to accomplish and have gotten stumped on.
I have a single table view of managed objects in Window1. I have a "Add Items" button that calls Window2 that has another blank table view (AddItemsTableView) and a series of form fields a user could fill in.
When a user fills in these fields and clicks an add button in Window2, the string values of said fields are input into AddItemsTableView to show a running list of items they are preparing to add. When the finally commit the add, I would like that running list to instantiate as NSManagedObjects
Do I need to do this as a seperate entity within coredata created just for objects to be added, then transfer the objects to the new entity upon the add action? Do I need to save them in a mutable dictionary and convert the dictionary to managed objects?
It's important that the addItemsTableView only contains data for the time period the window is open. When Add is commmited, the window closes and the table bound to the core data entity in Window1 updates with new results. If Add Items in Window 1 is pressed again, Window2 is called with an empty tableview again.
I've been searching through SO and other forums for days trying to find someone attempting to do the same thing. Can anyone point me in the right direction?
Thank you so much!
Connect your add table view to the original table view via a delegate #protocol so it can inform the other on its state and enable it to react accordingly.
Of course you use the same type of managed object throughout, no interim objects such as dictionaries. When the added data is saved, you could send the object back to the original table to be processed.
(Alternatively you can save and rely on e.g. the fetched results controller delegate - but maybe that is too advanced at this stage.)
Is it possible to create an Alert which should only fire when certain field value is blank or something like that ? I don't find any reference for the same anywhere.
If your alert criteria can be expressed in a view, you can then do this through the UI without code. Create the view on the list with your criteria. Then set an alert for the list. In the section for set alerts for these changes, select the someone changes an item that appears in this view and select your view from the dropdown list.
This option is not easily discovered in 2010 as the option only appears after a custom view exists for the list (except for the task list, which has a number of views included by default).
You can create a workflow through SharePoint designer to achieve this functionality.
I created a custom field type that inherits from SPFieldNumber. Then I created a column of this type in a list and created a Gantt View.
The problem is that the column doesn't show in the Gantt view's left pane.
Any help on this issue would be much appreciated.
Thanks!
In SharePoint 2010 fields UI is rendered using XSL Transformation, so to get you field rendered in List View you need to write a Custom XSL for your Field you developed.
Below article will get you needed help
MSDN Article
Reference Article