CS193p 2010-11 Fall, Assignment 3

TL;DR: How to let a class method of a view communicate with its delegate, owner or so?
The assignment is to iterate over pixels to draw points over X and Y axes. The X axis is the X, the Y axis is the evaluation of the expression of X, sent by a view controller called CalulatorViewController.
Here's more explanation of what I did. CalculatorViewController has a model called CalculatorBrain and a .xib view. It's a normal calculator with a button called "solve" which passes the expression to the brain, with a dictionary of the values of the variables. 2 for X for example.
Therefore the brain will evaluate X + 2 to be 4 and return the result, which is 4.
Another View Controller is the graph one, which is called AxesDrawerViewController. It has a model which is called AxesDrawerBrain and a view which is called AxesDrawerView, which has another class called AxesDrawer which works as a core graphics class.
The model is reponsible for returning the appropriate scale when Zoom In or Zoom Out buttons are pressed. The calculator simply tells the model that it changed by X rate, then asks it for the scale, then passes it to AxesDrawerView which passes it to AxesDrawer, it draws, and boom, it's there.
There's only 1 problem which is actual drawing of the graph of points over pixels. Therefore I allocated AxesDrawerViewController at the initialization of CalculatorViewController, set its expression, and set its delegate.
The expression is what is recorded with each button pressed. For example I pressed 5 then + then X, so the expression will be 5 + X.
At the initialization of AxesDrawerViewController, I set the AxesDrawerView's delegate to be the AxesDrawerViewController. Therefore I can simply get the delegate through AxesDrawerView from the delegate by adding a method to AxesDrawerViewController which asks its delegate, which is CalculatorViewController to return the expression. Then I make an instance of CalculatorBrain, send it the expression, and the dictionary with the value of X I'm iterating over, so I can return it to AxesDrawer whenever it asks me to using a delegate.
The problem is that AxesDrawer's methods are class methods, so it can't see delegates. I don't know how to bypass this problem.
Any help is appreciated. Thanks.

TL;DR: How to let a class method of a view communicate with its delegate, owner or so?
The assignment is to iterate over pixels to draw points over X and Y axes. The X axis is the X, the Y axis is the evaluation of the expression of X, sent by a view controller called CalulatorViewController.
Here's more explanation of what I did. CalculatorViewController has a model called CalculatorBrain and a .xib view. It's a normal calculator with a button called "solve" which passes the expression to the brain, with a dictionary of the values of the variables. 2 for X for example.
Therefore the brain will evaluate X + 2 to be 4 and return the result, which is 4.
Another View Controller is the graph one, which is called AxesDrawerViewController. It has a model which is called AxesDrawerBrain and a view which is called AxesDrawerView, which has another class called AxesDrawer which works as a core graphics class.
The model is reponsible for returning the appropriate scale when Zoom In or Zoom Out buttons are pressed. The calculator simply tells the model that it changed by X rate, then asks it for the scale, then passes it to AxesDrawerView which passes it to AxesDrawer, it draws, and boom, it's there.
There's only 1 problem which is actual drawing of the graph of points over pixels. Therefore I allocated AxesDrawerViewController at the initialization of CalculatorViewController, set its expression, and set its delegate.
The expression is what is recorded with each button pressed. For example I pressed 5 then + then X, so the expression will be 5 + X.
At the initialization of AxesDrawerViewController, I set the AxesDrawerView's delegate to be the AxesDrawerViewController. Therefore I can simply get the delegate through AxesDrawerView from the delegate by adding a method to AxesDrawerViewController which asks its delegate, which is CalculatorViewController to return the expression. Then I make an instance of CalculatorBrain, send it the expression, and the dictionary with the value of X I'm iterating over, so I can return it to AxesDrawer whenever it asks me to using a delegate.
The problem is that AxesDrawer's methods are class methods, so it can't see delegates. I don't know how to bypass this problem.
Any help is appreciated. Thanks.

Similar Messages

  • Document number 1000  100000017 2010 was already assigned while doing MIRO

    HI All,
    I have an issue regarding number range, while doing MIRO for third party purchase order it is saying "Document number 1000  100000017 2010 was already assigned"
    my process is:
    Created Sales Order, PR created automatically, converted PR to PO, done statistical GR, Billing done based on sales order ( billing document 100000017)
    message no: F5152
    Please let me know if somebudy get the same message and resolved it.
    Thanks in advance
    Nagesh

    hello,
    Go to SE16 and check tabl;e BKPF, enter thsi number in teh REF. document number field,
    Else go to FBN1 and see the current number for the company code

  • Lync 2010 Edge Certificate Assigning issue.

    Hello,
    We are facing issue in assigning Public certificate for Lync 2010 Edge server.
    Where as i able to successfully import the certificate from Deployment wizard, but when assigning the same not able to view the certificate which is successfully imported from same wizard.
    Please suggest to fix this issue.
    FYI: I am able to view the certificate in the Local account certificate container.

    Try importing the certificate using the DigiCert's Certificate Utility: https://www.digicert.com/util/ 
    works for certificates issued by other Certificate Authorities. 
    After the cert is Imported, run the key test from the DigiCert's Certificate Utility. Run Step 3 again (Lync  Server Deployment Wizard) and select "assign" to use the new certificate.
    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

  • Exchange 2010 Unable to Assign Full Access Permissions using a Security Group

    I've been running into this issue lately.  I cannot seem to use groups to allow full access to mailboxes.  When I add them from the EMC, it will show up when you go to "Manage Full Access Permission...".  After waiting a day and even restarting
    the Information Store service, the permissions do not take effect.  When I view the msExchDelegateListLink attribute of the mailbox account, the group is not listed.
    When I grant a user full permission, it works and updates the attribute.  However, on occasion when I revoke the full access permission for a user is doesn't always remove that user from the msExchDelegateListLink attribute.  So the mailbox
    will still appear in Outlook, but the user isn't able to see new emails.
    Any ideas on what may be going wrong?
    Environment:
    Exchange Server 2010 SP1 Standard
    Windows Server 2008 R2 Standard
    Outlook 2010 SP1 (tried without SP1 as well)
    I was looking over Add-MailboxPermission on Technet (http://technet.microsoft.com/en-us/library/bb124097.aspx) and I noticed that it doesn't mention adding groups.  Is this not possible?

    I never got a proper fix.
    I worked around it by creating a script which gets the members of an AD Mail Enabled security group, and updates the full access based on the groups members.
    Here's a script I'm running every hour which updates permissions. It's probably not the most efficient script ever, but it works. It has several benefits
    1. Managers of the distribution group can add/remove mailbox members using OWA or through the address list
    2. New members of groups are added to FULL Access Permissions
    3. Members removed from the groups are removed from FULL access permissions
    4. Automapping works :)
    5. Maintains a log of access added / removed / time taken etc.
    Obviously I have had to remove domain related information, replace with whatever your domain requirements are, and PLEASE debug it properly in your environent first, don't complain to me if it wipes out a load of access for you or something like that!
    It takes about 5 minutes to run in my environement. Some formatting seems to have got messed up on here, sorry. I hope it is of use!
    # Mailbox Permissions Setter for Exchange #
    # v1.1 #
    # This script will loop through all mailboxes in Exchange and find any where #
    # the type is 'SHARED'. These should be determined to be a GROUP/SHARED mailbox #
    # and access to these mailboxes are controlled by a single ACL, e.g. 'ACL_Shared_Mailbox'. #
    # This script will add any members of these ACLs directly to the Full Access Permissions #
    # of the mailbox and also remove them if they no longer need the access. #
    # Script created by Jon Read, Technical Administration
    # Recent Changes
    # 15/11/2012
    # 1.1 Added exclusions for ACLs that we don't want automapping to happen for
    # 12/11/2012
    # 1.0 Initial script
    #Do not change these values
    Add-PSSnapin *Ex*
    $starttime = Get-Date
    $logfile = "C:\accesslog.txt"
    $logfile2 = "C:\accesslog2.txt"
    $totaladditionstomailboxes = 0
    $totalremovalsfrommailboxes = 0
    $totalmailboxesprocessed = 0
    $totalmailboxesskipped = 0
    # Exclude any ACLs that shouldn't be processed here if they are used for a non-standard purpose and
    # we don't want FULL access mapping to happen. Seperate array values with commas
    $ExcludedACLArray = "DOMAIN\ACL_ExcludedExample"
    Write-Output " " >> $logfile
    Write-Output " " >> $logfile
    Write-Output "#----------------------------------------------------------------#" >> $logfile
    Write-Output "# Mailbox Permissions Setter for Exchange #" >> $logfile
    Write-Output "# v1.1 #" >> $logfile
    Write-Output "#----------------------------------------------------------------#" >> $logfile
    Write-Output " " >> $logfile
    Write-Output " " >> $logfile
    Write-output "Start time $starttime ">> $logfile
    Write-Output " " >> $logfile
    Write-Output " " >> $logfile
    # Set preferred DCs and GCs
    $preferredDC = "preferredDC.domain"
    $preferredGC = "preferredGC.domain"
    Write-Output " PreferredDC = $preferredDC ">> $logfile
    Write-Output " PreferredGC = $preferredGC " >> $logfile
    Set-ADServerSettings -PreferredGlobalCatalog $preferredGC -SetPreferredDomainControllers $preferredDC
    # The first part of this will ADD permissions to the mailbox, reading from an associated ACL.
    # Check for all mailboxes where the type is SHARED. These are the only ones we would
    # want to apply group mailbox permissions to.
    foreach ($mailbox in get-mailbox -resultsize "unlimited" | where-object {$_.RecipientTypeDetails -eq "SharedMailbox"})
    $totalmailboxesprocessed = $totalmailboxesprocessed + 1
    Write-Output " " >> $logfile
    Write-Output " " >> $logfile
    Write-Output "|-------------------------------------------------------" >> $logfile
    Write-Output "| MAILBOX ADDITIONS: $mailbox " >> $logfile
    Write-Output "|-------------------------------------------------------" >> $logfile
    $mailbox=$mailbox.ExchangeGuid.ToString()
    # For each of them, get the distribution list applied to the mailbox (Starting DOMAIN\ACL_)
    # We then need it to be turned into a string to use later.
    #Declared $changes as 0. if this is set to 0 at the end of the mailbox job, we know no changes were made.
    $changes = 0
    foreach ($distributiongroup in get-mailbox $mailbox | Get-MailboxPermission | Where-Object {$_.User -like "DOMAIN\ACL_*" })
    $skipACL = 0
    #Get the distribution group and put the name in a useable format
    $distributiongroup=$distributiongroup.user.tostring()
    Write-Output "Found ACL $distributiongroup" >> $logfile
    # Check if this distribution group needs to be excluded and if it shouldn't be processed
    # then move onto the next ACL. This will stop FULL access being granted if the mailbox is
    # used for a non-standard purpose. See the start of this script
    # for where these are excluded (ExcludedACLArray)
    foreach ($ACL in $ExcludedACLArray )
    if ($distributiongroup -eq $ACL)
    $skipACL = 1
    Write-Output "ACL $distributiongroup is excluded so skipping mailbox " >> $logfile
    $totalmailboxesskipped = $totalmailboxesskipped + 1
    if ($skipACL -eq 0)
    # Get each user in this group and for each of them, add try to add them to full access permissions.
    foreach ($user in Get-DistributionGroupMember -identity $distributiongroup)
    # Get the user to try, convert to DOMAIN\USER to use shortly
    $user="DOMAIN\" + $user.alias.ToString()
    # Check to see if the user we have chosen from the ACL group already exists in the full access
    # permissions. If they do, set $userexists to 1, if they do not, leave $userexists set to 0.
    # Set $userexists to 0 as the default
    $userexists = 0
    foreach ($fullaccessuser in get-mailbox $mailbox | Get-MailboxPermission)
    # See if the user exists in the mailbox access list.
    # Change $fullaccessuser to a useable string (matching $user)
    $fullaccessuser=$fullaccessuser.user.tostring()
    if ($fullaccessuser -eq $user)
    $userexists=1
    # Break out of foreach if the user exists so we don't unnecessarily loop
    break
    # Now we know if the user needs to be added or not, so run code (if needed) to add
    # the user to full access permissions
    if ($userexists -eq 0)
    Add-MailboxPermission $mailbox –user $user –accessrights "FullAccess"
    Write-Output "Added $user " >> $logfile
    $changes = 1
    $totaladditionstomailboxes = $totaladditionstomailboxes + 1
    #Now repeat for other users in the ACL
    #if changes were 0, then log that no changes were made
    if ($changes -eq 0)
    Write-Output "No changes were made." >> $logfile
    Write-Output " " >> $logfile
    Write-Output " " >> $logfile
    Write-Output "---------------------------------------------------------------------------------" >> $logfile
    Write-Output " FINISHED ADDING PERMISSIONS" >> $logfile
    Write-Output "---------------------------------------------------------------------------------" >> $logfile
    Write-Output " " >> $logfile
    # The second part of this will REMOVE permissions from the mailbox, reading from an associated ACL.
    ## Check for all mailboxes where the type is SHARED. These are the only ones we would
    ## want to apply group mailbox permissions to.
    foreach ($mailbox in get-mailbox -resultsize "unlimited" | where-object {$_.RecipientTypeDetails -eq "SharedMailbox"})
    Write-Output " " >> $logfile
    Write-Output " " >> $logfile
    Write-Output "|-------------------------------------------------------" >> $logfile
    Write-Output "| MAILBOX REMOVALS : $mailbox " >> $logfile
    Write-Output "|-------------------------------------------------------" >> $logfile
    $mailbox=$mailbox.ExchangeGuid.ToString()
    #Declared $changes as 0. if this is set to 0 at the end of the mailbox job, we know no changes were made.
    $changes = 0
    # For the current mailbox, get a list of all users with FULLACCESS, and then for each of them
    # check if they exist in the ACL
    foreach ($fullaccessuser in get-mailbox $mailbox | Get-MailboxPermission | Where-Object {$_.Accessrights -like "FullAccess" })
    # Get the security identifier (SSID) of the FULLACCESS user to store for later.
    $fullaccessuserSSID=$fullaccessuser.user.SecurityIdentifier.ToString()
    $fullaccessuser=$fullaccessuser.User.ToString()
    #If user needs to be excluded then skip this bit
    #Users added or removed will only start with 07 (07$, 07T, so only run if the user starts with this.
    #This stops it trying to remove NT AUTHORITY\SELF and other System entries
    if ($fullaccessuser -like "DOMAIN\07*")
    # Set $userexists to be 0. if we find the use user needs to remain, then change it to 1.
    $userexists=0
    # Check if this user exists in the ACL, if not, remove.
    foreach ($distributiongroup in get-mailbox $mailbox | Get-MailboxPermission | Where-Object {$_.User -like "DOMAIN\ACL_*" })
    $distributiongroup=$distributiongroup.user.tostring()
    #Write-Output "Found associated distribution group $distributiongroup" >> $logfile
    # Get each user in this group and for each of them, See if it matches the user in the mailbox.
    foreach ($user in Get-DistributionGroupMember -identity $distributiongroup)
    # Get the user to try, convert to DOMAIN\USER to use shortly
    $userguid = $user.Guid.ToString()
    $user="DOMAIN\" + $user.alias.ToString()
    if ($fullaccessuser -eq $user)
    $userexists=1
    #we have found the user exists so no need to continue
    break
    # If userexists = 0, then they are NOT in the ACL, and should be removed from
    # the full access permissions. Run the code to remove them from full access.
    #CONVERT FULLACCESSUSER TO GUID AND REMOVE $FULLACCESSUSERGUID NOT $USERGUID
    if ($userexists -eq 0)
    Remove-MailboxPermission -Identity $mailbox –user $fullaccessuserSSID –accessrights "FullAccess" -Confirm:$false
    Write-Output "Removed $fullaccessuser " >> $logfile
    $changes = 1
    $totalremovalsfrommailboxes = $totalremovalsfrommailboxes + 1
    # if changes = 0, no changes were made to this mailbox, so log this fact.
    if ($changes -eq 0)
    Write-Output "No changes were made." >> $logfile
    #Put the time in a displayable format
    $endtime = Get-Date
    $runtime = $endtime - $starttime
    $runtime = $runtime.ToString()
    $runtime1 = $runtime.split(".")
    $totaltime = $runtime1[0]
    Write-Output " " >> $logfile
    Write-Output " " >> $logfile
    Write-Output "|-------------------------------------------------------------------------------------- " >> $logfile
    Write-Output "| SCRIPT COMPLETE : STATS " >> $logfile
    Write-Output "|-------------------------------------------------------------------------------------- " >> $logfile
    Write-Output "| Total Mailboxes Processed : $totalmailboxesprocessed " >> $logfile
    Write-Output "| Total Additions : $totaladditionstomailboxes " >> $logfile
    Write-Output "| Total Removals : $totalremovalsfrommailboxes " >> $logfile
    Write-Output "| Total Mailboxes Skipped due to ACL : $totalmailboxesskipped " >> $logfile
    Write-output "| Start time : $starttime ">> $logfile
    Write-output "| End time : $endtime ">> $logfile
    Write-Output "| **END OF RUN** - Elapsed time : $totaltime " >> $logfile
    Write-Output "|---------------------------------------------------------------------------------------" >> $logfile
    Write-Output " " >> $logfile

  • Stanford CS193P iPhone Programming Course Assignment 1B

    I do not understand this assignment at all...*I'm not doing it for the class*, but I've downloaded all the materials from iTunes U and the course website. I was looking through it, and I have no idea what to do for assignment 1B.
    Assignment 1B
    Course website

    Here's a basic layout of what I think the skeleton of the program would look like:
    #import <Foundation/Foundation.h>
    void PrintPathInfo (); // function declaration for section 1
    void PrintProcessInfo (); // function declaration for section 2
    void PrintBookmarkInfo (); // function declaration for section 3
    void PrintIntrospectionInfo (); // function declaration for section 4
    int main (int argc, const char * argv[])
    NSAutoreleasepool * pool = [[NSAutoreleasePool alloc] init];
    PrintPathInfo(); // function call for section 1
    PrintProcessInfo(); // function call for section 2
    PrintBookmarkInfo(); // function call for section 3
    PrintIntrospectionInfo(); // function call for section 4
    [pool release];
    return 0;
    void PrintPathInfo () // function definition for section 1
    // code for printing "path info"
    void PrintProcessInfo () // function definition for section 2
    // code for printing "process info"
    void PrintBookmarkInfo () // function definition for section 3
    // code for printing "bookmark info"
    void PrintIntrospectionInfo () // function definition for section 4
    // code for printing "introspection info"
    I don't know how to help you any further without actually doing the assignment myself, which I unfortunately don't have time for right now, but I may try in the future sometime, because it looks like I could benefit from it. But this skeleton code should give you an idea of what the basic program would look like, so all you really need to know now is what code to put in the four function definitions, so you just need to figure out how to print the "path info" and the "process info" and so forth. Go to page 4 on the assignment document you linked to and start with the section titled "Section 1: String as file system paths" and read through that to try to figure out what code you need to write in the first function definition (the one for PrintPathInfo()), and then do the same for the other three. That's where I would begin. If you don't understand what your being told in those sections of the assignment document, then maybe it is too advanced of an assignment and you might need to learn a little more about the language first (I'm not sure I know enough to complete it myself, but then again, I don't know much about Objective-C in the first place). But, anyways, that's what I would do if I were you. I'd copy the skeleton code above into your project (assuming you understand it) or write your own, and then start reading the assignment to figure out what goes inside the function definitions, because everything else (the function declarations and the main() function code) is already done. It's possible you may need to add arguments to some of the functions as you write them and/or change their return types, but it doesn't look like it. Anyways, hope there was something helpful here.

  • Project Server 2010 - Assigned tasks not visible in PWA

    Hi,
    When I enter an issue on a project site, the assigned issue is not visible in the PWA under Issues & Risks.
    Based on this link (http://social.technet.microsoft.com/Forums/en-US/f5abd024-3c9a-47f8-a7cb-7743fafebf2b/project-server-2010-cannot-see-assigned-issues-and-risks) I have tried to solve it however without success.
    In the queue jobs I have the following error details:
    General
    Reporting Wss list sync failed:
    ReportingWssSyncListFailed (24018) - 1100. Details: id='24018' name='ReportingWssSyncListFailed' uid='6c8a0779-3c9f-4d25-a81c-04d69d6fce1d' SPListType='2136b7a0-03b9-4547-8b2d-c66497accd08' Error='1100'. 
    ReportingWssSyncListFailed (24018) - 1101. Details: id='24018' name='ReportingWssSyncListFailed' uid='1573855e-b176-44cc-bf92-8959d167f8fe' SPListType='2136b7a0-03b9-4547-8b2d-c66497accd08' Error='1101'.....................................
    Reporting message processor failed:
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='839ed0b8-6b8c-4bd5-bfbe-540349c1f27a' QueueMessageBody='ProjectUID='2136b7a0-03b9-4547-8b2d-c66497accd08'.
    ForceFullSync='False'. SynchronizationType='All'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'. 
    ReportingWSSSyncMessageFailed (24016) - RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.. Details: id='24016' name='ReportingWSSSyncMessageFailed' uid='b0e773af-5cc3-4965-85b3-a4d8050e86f5' QueueMessageBody='ProjectUID='2136b7a0-03b9-4547-8b2d-c66497accd08'.
    ForceFullSync='False'. SynchronizationType='All'' Error='RDS failed while trying to sync one or more SP lists. The RDS queue message will be retried.'............................................
    Queue:
    GeneralQueueJobFailed (26000) - ReportingWSSSync.WSSSyncMessageEx. Details: id='26000' name='GeneralQueueJobFailed' uid='07edaa28-647c-4dee-974e-06f47e4b4e40' JobUID='899bd048-2c19-4176-bd6c-1b45b8379a40' ComputerName='NLHGOL7FPR' GroupType='ReportingWSSSync'
    MessageType='WSSSyncMessageEx' MessageId='1' Stage=''. For more details, check the ULS logs on machine NLHGOL7FPR for entries with JobUID 899bd048-2c19-4176-bd6c-1b45b8379a40.
    As I understand this error could be due to a mismatch between the fields that are 'standard' in the project server and fields that are op the project site.
    If the reporting database could not sync, will consequently also the issues not be visible on the PWA??
    Any suggestions how to solve this?
    Regards,
    Dirk

    Hello,
    Yes, if the Issues & Risks are not being synchronised to the Reporting database then this will impact the issues & risks appearing on the PWA homepage reminders web part. See this post on how the data gets to the Reminders web part in Project
    Server 2010:
    http://pwmather.wordpress.com/2012/07/13/projectserver-active-issues-and-risks-on-pwa-reminders-web-part-ps2010-sp2010-sharepoint/
    The error you are seeing is probably caused by the default Issue or Risks columns being edited or removed from the Issues or Risks lists. It might be worth taking a look at this post:
    http://pwmather.wordpress.com/2011/06/20/project-server-2010-project-site-default-fields/
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Problem with Assigning Policy button in Outlook 2010 and Exchange 2010

    First of all, I'm posting here because I'm not sure how to post in the previous version of Exchange forums.
    Secondly, I'm re-posting this from the Outlook forums as I'm not getting any responses there despite of views.
    Hi,
    I'm having an issue in Outlook 2010 where I can't assign personal policies to folders. I have setup personal tags and added the mailbox to the right policy. I have also ran Start-MangedFolderAssistant in Exchange 2010 Shell against the mailboxes.
    When I go into OWA, everything shows up perfectly, I can right-click and assign policies at will, but when I open Outlook 2010 then the Assign Policy button never appears. I force added it to the ribbon and I can see from there that the button stays grayed
    out irregardless of where I click in the folder structure. I have even assigned the mailbox user Owner rights to all the folders to see if it will  make a difference.
    If anyone can help me solve this problem I will very grateful, I'm pulling my hair out here and I'm certain I could just be missing something very obvious somewhere,
    It might be worth mentioning that the company has been using .prf files to configure Outlook thus far, I'm
    looking to eliminate that. I'm not sure if that will have any effect on my current problem.
    Thanks for your time.
    Nico

    Thanks for the reply Max, that's a pretty good link.
    Like is I said though, I have the policies all set up in the Exchange configuration side of things, when I use OWA all the options for applying tags appear. It's just in Outlook 2010 Standard that the Assign Policy button stays grayed out.
    Thanks.
    EDIT:
    This has been solved, looks like version problem with Outlook.
    http://office.microsoft.com/en-us/outlook-help/license-requirements-for-personal-archive-and-retention-policies-HA102576659.aspx

  • Project Server 2010 / Sharepoint 2010 Permissions not syncing to Project Site

    Project Permissions not syncing to Project Site
    Project Manager Group
    New project is created and published project server sends permissions to Sharepoint which puts users into the following groups:
    <dir><dir></dir></dir><dir><dir>
    Web Administrator (Microsoft Project Server)
    Project Managers (Microsoft Project Server)
    Team members (Microsoft Project Server)
    Readers (Microsoft Project Server)
    At this time the creator/owner, owner’s management, portfolio managers, and executives should all have Project Manager rights on the sharepoint site, and Admins will have Web Admin permissions.
    Issue #1: Only the Web Admin permissions and creator/owner permissions are being added to the Sharepoint permission groups
    Workaround #1: Going into the project site permissions and adding the
    Project Managers (Microsoft Project Server) group manually and the sync will keep the permissions
    Workaround #2: Going into the Server Settings, Manager Groups then removing or add all users to the No Permission Group, which forces an sync to all workspaces. Con: This workaround can only be down at night when users are not active since it will
    block the queue for at least an hour.
    Project Owner Transfer
    Previously created project has owner change, once saved and published project server sends permissions to update user’s permission to
    Project Managers (Microsoft Project Server) on Sharepoint project site.
    Issue #2: When Project owner is changed and project is published the owner is not getting permissions to the Sharepoint project site. However, if owner is also added to the team using the Build Team Feature the sync will give the owner Project
    Manager permissions on the Project Site.
    Workaround #1: Going into Server Settings, Project Sites, select project and Synchronize. Once this is done, the owner will have Project Manager Permissions without being added to the team.
    Users who have been added to this project in Project Server 2010, but not assigned to tasks. Users who have assignments in this project in Project Server 2010 and are contributors to the project workspace site,
    meaning that they can create and edit documents, issues, and risks. Users who have published this project or who have
    Save Project permission in Project Web App and are contributors to the project workspace site, meaning that they can create and edit documents, issues, and risks. Users who have
    Manage SharePoint Foundation permission in Project Web App and are contributors to the project workspace site, meaning that they can create and edit documents, issues, and risks.</dir></dir>

    By default when you create project build team add users in the task and publish the project plan then All the User which are available in the project plan including Project owner will go to below mentioned group in project site:
    1. creator/owner, owner’s management, portfolio managers, and executives should all have Project Manager will get access to Project Managers (Microsoft Project Server)
    2. User who are having team member access to PWA will get Team members (Microsoft Project Server) access if they are assigned to the project task.
    3. User who are having team member access to PWA will get Readers (Microsoft Project Server) access if they are not assigned to the project task.
    4. Only PWA Administrator will get the access to Web Administrator (Microsoft Project Server)
    Sharepoint permission you have to use when you want to give permission manually to users on project site  
    In the Project Site provisioning setting under Server setting if you have Check to automatically synchronize Project Web App users with Project Sites when they are created, when project managers publish projects, and when user permissions change in Project
    Server.
    Then all the user get access as per describe above and if you will give access manually to any of the user either in project server group or in Sharepoint group once you will publish the project next time all the manually given permission will go away.
    IF you want to give permission to user manually to sharepoint group or project server group then uncheck automatically synchronize Project Web App users with Project Sites when they are created, when project managers publish projects, and when user permissions
    change in Project Server.
    You check PWA site setting --> Site permission then member of Sharepoint group user who will have access to sharepoint group in PWA site setting site permission will have access to all the project site sharepoint group as Project site inherit permission
    from PWA root site.
    Both the issue which you have described is behavior of project site.
    For issue 2 when first time project owner create and publish the project and projectsite is getting created then porject owner name gets access  in the porject manager (project server group) nect time if you will change the owner and publish the project
    until he will not present in the project plan will not get the permission.
    If you want to give sharepoint permission to users then uncheck automatically synchronize Project Web App users with Project Sites when they are created, when project managers publish projects, and when user permissions change in Project Server and give
    the permission manually. 
    Project site in 2010 has some issue and not full filling customer need some time ,Ms has came up with 2013 which is having tight integration with project sites .
    Project workspace security groups are equal to the SharePoint Server 2010 security groups.
    Web Administrator equals Full Control
    Project Managers equals Design
    Team members equals Contribute
    Readers equals Read
    Users who have Manage
    SharePoint Foundation permission in Project Web App and are contributors to the project workspace site, meaning that they can
    create and edit documents, issues, and risks will get access to Web Administrator (Microsoft Project Server)
    http://technet.microsoft.com/en-us/library/cc197668(v=office.14).aspx
    kirtesh

  • Program to add in the Assignment views Descriptive flexfields segments

    Hi,
    I have added two context fields values in the descriptive flexfield "Additional Assignment Details". I see that the view hrfg_employee_assignments has reflected those changes and has included 4 attribute columns:
    CREATE OR REPLACE VIEW HRFG_EMPLOYEE_ASSIGNMENTS
    (BUSINESS_GROUP_NAME, PERSON_NAME, PREFIX, SUFFIX, FIRST_NAME,
    LAST_NAME, PREFERRED_NAME, MIDDLE_NAMES, TITLE, COLLECTIVE_AGREEMENT_NAME,
    ASSIGNMENT_NUMBER, NORMAL_START_TIME, NORMAL_END_TIME, PRIMARY_FLAG, INTERNAL_ADDRESS,
    MANAGER_FLAG, EMPLOYMENT_CATEGORY, ASSIGNMENT_TYPE_CODE, ASSIGNMENT_TYPE, WORKING_HOURS_AMOUNT,
    WORKING_HOURS_FREQUENCY, EMPLOYEE_NUMBER, HIRE_DATE, ORIGINAL_DATE_OF_HIRE, WORK_TELEPHONE_NUMBER,
    SUPERVISOR_NAME, SUPERVISOR_NUMBER, SALARY_BASIS, ORGANIZATION_NAME, POSITION_NAME,
    JOB_NAME, LOCATION_NAME, GRADE_NAME, PEOPLE_GROUP, PAYROLL_NAME,
    RECRUITMENT_ACTIVITY_NAME, VACANCY_NAME, USER_ASSIGNMENT_STATUS, PER_SYSTEM_ASSIGNMENT_STATUS, PAY_SYSTEM_ASSIGNMENT_STATUS,
    PRIMARY_FLAG_CODE, MANAGER_FLAG_CODE, EMPLOYMENT_CATEGORY_CODE, FREQUENCY_CODE, PER_SYSTEM_STATUS_CODE,
    PAY_SYSTEM_STATUS_CODE, PEO_GRP, PEOPLE_GROUP_50309, CONTEXT, DATE_OF_TEST_2,
    TIME_OF_TEST_2, PLACE_OF_TEST_2, TYPE_OF_TEST_2, DAYS_FOR_PAY_3, HOURS_FOR_PAY_3,
    *"PROM/DEM/TRANSF_ORDER_NUMBER_3"*, ASSIGNMENT_ID, BUSINESS_GROUP_ID, GRADE_ID, JOB_ID,
    LOCATION_ID, ORGANIZATION_ID, PAYROLL_ID, PERIOD_OF_SERVICE_ID, PEOPLE_GROUP_ID,
    PERSON_ID, POSITION_ID, RECRUITMENT_ACTIVITY_ID, SALARY_BASIS_ID, SUPERVISOR_ID,
    VACANCY_ID, COLLECTIVE_AGREEMENT_ID)
    AS
    SELECT .....
    I see that it has added comments in these view columns :
    DESC CONTEXT,800,PER_ASSIGNMENTS,A
    DESC SEGMENT,800,PER_ASSIGNMENTS,A,ASS_ATTRIBUTE1
    DESC SEGMENT,800,PER_ASSIGNMENTS,A,ASS_ATTRIBUTE2
    and so on.
    Now I disable those value codes in the descriptive flexfield from System Administrator and add two new context values.
    Which program should I run to reflect these changes in HRFG_EMPLOYEE_ASSIGNMENTS view?
    Thank you.

    Unfortunately Microsoft decided to make things complicated in 2010. Resource.Assignment.Text1 is not the same as Task.Assignment.Text1.
    As far as I know, VBA is the only solution. I would run the code in the before_save event.
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • Cant delete task notification in Outlook 2010

    In my Office we use Outlook 2010 and I assign tasks to various people.  When they accept the task I receive a notification however in the last few days I have received a few notifications that I can't delete.  When I select the notification in
    my Inbox it says "This item cannot be displayed in the Reading Pane.  Open the item to read its contents" however if I try to open it I get "Cannot open this item.  The attempted operation failed.  An object could not be found."
    If I try to delete the task notification I get "The attempted operation failed. An object could not be found.".
    I've tried running the repair function but it didn't help.  How can I fix this so it doesn't happen going forward and delete these email?
    Thank you for the help!

    Hi,
    The first thing you need to do is to make sure Outlook is fully patched.
    Some anti-virus program may cause this issue, to verify that, please disable the firewall and anti-virus program, then start Outlook, check if the issue persists.
    You can also run Outlook in Safe Mode to determine if it's 3rd-party add-ins related:
    Press Win + R and type “outlook.exe /safe” in the blank box, then press Enter.
    If there’s no problem in Safe Mode, disable the suspicious add-ins to verify which add-ins caused this issue.
    Note For the steps above, I suggest you test with the new notifications.
    You can also try the following and check if it helps:
    Click on the File menu –> Options, navigate to Advanced tab and scrolled down to Send and receive section, then click on the Send/Receive button. In the ‘Send/Receive Groups’ window, click on Edit tab. In the 
    ‘Send/Receive Settings’ window, click to select the email account under ‘Accounts’ and then click to select the ‘Download Complete Items’ option. Make sure the option “Download only headers for items larger then” is unchecked/not selected and click on Ok.
    Regards,
    Melon Chen
    TechNet Community Support

  • Assigning resources in Project Server 2013

    Hi,
    Is it possible to assign a resource to a task through PWA in Project Server 2013?
    I have a created a project in PWA, built team,saved and published but can't assign resources.
    Do i need to open Project Professional to assign the resources?
    K.Gokulraj

    Hi José,
    This behavior is normal. See my example below with 1 resource on a fixed duration and effort driven task:
    If I add a second resource, the duration is fixed so it will not change. The task is effort driven so the total effort will be kept at 40h, but splitted between the 2 resources:
    The units will still be 100%, the assignment unit behavior has significantly changed in Project 2010, see references below:
    http://blogs.msdn.com/b/project/archive/2010/04/29/assignment-units-in-project-2010.aspx
    http://ntrajkovski.com/2012/11/20/units-and-peak-units-in-ms-project-2010-what-are-they/
    If you insert the peak column in the task usage view, you'll see that the % unit for the 2 assignments are 50%.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Payroll area change is not possible

    Hi,
    When we are doing promotion action, i.e, one paryoll area to another paryoll area, In actions whatever the date we are giving is taking, but when come to org assignment it is not allowing to save with that date  and throwing error " payroll area change is not possible at the end of payroll period"
    For example: In Actions start date is 04.01.2010, in org assign is not allowing to save the entry with that date, but if we give 01.01.2010, it is allowing to save the record. As paryroll period is starting of the month to end of the month, that is the reason it allowing the start date of the month in org assign, but user wants the record from his desired date..
    Please help me on the issue.
    Thanks & Regards
    Kumar

    Hi Kumar,
    Mid-payroll payroll area change is allowed for only a few countries including:
    Canada (country grouping 07), the United States (10), South Africa (16), Mexico (32), Taiwan (42), Finland (44), and Spain (04)
    Please check the notes below for further reference:
    1104733
    849363
    744563
    Regards,
    Dilek

  • Getting dump while posting goods receipt through TCode migo

    Hi,
    I am getting dump after I click on post button in TCode 'MIGO'.
    Short text
        The current application triggered a termination with a short dump.
    Short text of error message:
    Document number 9 5000000000 2010 was already assigned
    Long text of error message:
      Diagnosis
          Document number 5000000000 in company code 9 and fiscal year 2010
          has already been assigned.
      System Response
          Termination of processing.
      Procedure
          Check document number range 50 in company code 9 and fiscal year
          2010 and correct the number range status if necessary.
    Technical information about the message:
    Message class....... "F5"
    Number.............. 152
    Variable 1.......... 9
    Variable 2.......... 5000000000
    Variable 3.......... 2010
    Variable 4.......... 50
    So please help me what I can do?
    Thanks,
    Moderator Message: The short dump is self-explanatory.
    Edited by: kishan P on Nov 18, 2010 11:17 AM

    Hi,
    plx try to chane the status in IE02
    Go to edit ,manual options , in that delete the HU assignemtn
    and then save it and come out of it ..
    Hope that helps

  • Service Entry Sheet & Accounting number range

    Dear Experts,
    While I'm trying to Release a Service Entry Sheet this error appear :
    +Error analysis+
        +Short text of error message:+
        +Document number ENR 5000000000 2010 was already assigned+
        +Long text of error message:+
         +Diagnosis+
             +Document number 5000000000 in company code ENR and fiscal year 2010+
             +has already been assigned.+
         +System Response+
             +Termination of processing.+
         +Procedure+
             +Check document number range 50 in company code ENR and fiscal year+
             +2010 and correct the number range status if necessary.+
        +Technical information about the message:+
        +Message class....... "F5"+
        +Number.............. 152+
        +Variable 1.......... "ENR"+
        +Variable 2.......... 5000000000+
        +Variable 3.......... 2010+
        +Variable 4.......... 50+
    I think t is related to the FI document that should be created from the Service Entry Sheet and the number range assigned for it
    Please Advice
    Best Regards

    Yes, it seems you are right. Check the current number ranges using TCode FBN1 to know the current status for number range number 50 for your company code. Material documents are not company code specific.
    To know the status of the document in the table, check table BKPF and read the table for your company code, year 2010 and document number 5000000000 to 5000001000 and check how many entries are already there. Change the status of the number range in FBN1 to a number higher than the max in the range (This may be done by FI consultant).
    Regards,
    Aroop

  • Calculation of overtime amount

    Hello everybody,
                     I have done overtime by giving  number of hours in the 2010 infotype and assigned the /001 valuation bases to it bcoz it gives the wage per hour.. but the valuation bases is calculating on the whole of gross amount where as i want it calculate on only the basic salary how can i do tht.... waiting for the answers....
      Regards
       K.Manoj

    Hai..
    SM30, V_512W_D.. Give ur country..
    Then select ur basic pay wage type.. double click on it.. check processing class 1. Maintain specification 1.. for ur basic pay wage type only.. for rest of the wage types which u copied.. maintain processing class 1 specification 0..   Dont change Processing classes of standard entries..
    manu

Maybe you are looking for

  • My wife and I want to sync/share videos

    My wife and each have a computer, + iPhone + iPad + AppleTV of course. We'd like to share videos, but we are finding it next to impossible. If I have a movie on my system, I can sync it to AppleTV, but she can't sync her movies. Most of these are eit

  • How to determine what is making my  iMac so slow upon start up?

    Okay, so back in 2008 I gott my first mac, the black macbook It was love at first sight About a little over a year ago it began do to odd things, IE the screen would freak out and just other things I decided it was time to back everything up to be sa

  • Can a PDF be made to by default print with "flip on short edge" set if printed double-sided?

    I'm producing a 4-side, 1-sheet PDF booklet download. Our main target audience is professionals (not necessarily tech-profecient) who will download it and print it on regular office printers. Most modern office printers can print double-sided, so we

  • TC issues 192.168 address even though it's set for 10. range

    My Time Capsule is set to use the 10. address range for DHCP but sometimes it issues a client a 192.168.x.x address. The result is no connectivity for the client until I hit "renew DHCP lease" a few times. It's not totally reproducible but I've seen

  • Simple Image Upload Problem

    Our users may add a logo to their content area. The logo is added as a file, and accessed from other pages using the technique described in the "Direct Access URL" online help. The portal defeats this strategy, however, since the direct access URL ch