locked
Sharepoint EditForm issue RRS feed

  • Question

  • hi,

    i've a calendar list with two item. with the contextual menu the edit item work correctly. if i open the detail of my items and click onto the edit item i receive an error (webpart error) only on one of my item. i've checked the url that the edit item link try to open in browser and find this:

    http://home.site.it/subsite/Lists/list%name/EditForm.aspx?ID=1183%2E1%2E2&Source=http%3A%2F%2Fhome%2Esite%2Eit%2subsite%2FLists%2Flist%20name%2FAview%20name%20default%2Easpx

     http://home.site.it/subsite/Lists/list%name/EditForm.aspx?ID=832%2E1%2E4&Source=%2subsite%2FLists%2Flist%20name%2FAview%20name%20default%2Easpx

    why this difference between two item of the same calendar list? the first link (absolute url) give me and error, if i open the url without parameters after the ID=1183 the page open correctly.

    can this be a bug? i use sharepoint server 2007 


    logan
    Thursday, May 26, 2011 4:04 PM

All replies

  • Hi, i've find the problem:

    i've two example of url:

     

    error:     /EditForm.aspx?ID=832%2E1%2E4&Source=   (/EditForm.aspx?ID=832.1.4&Source=)

    good:   /EditForm.aspx?ID=1183%2E1%2E2&Source=   (/EditForm.aspx?ID=1183.1.2&Source=)

    the first url give an error. if i remove the parameter from the url the edit form open correctly.

    what type of ID is that ID with dot, can i disable it?

    someone had the same problem?

    thanks

     


    logan
    Friday, May 27, 2011 7:09 AM
  • Hi,

     

    I understand that the same list item is different in their URL .I have a test based on your description. I find out that when edit an item in calendar the url is like ‘http://home.site.it/subsite/Lists/list%name/EditForm.aspx?ID=1183%2E1%2E2&Source=http%3A%2F%2Fhome%2Esite%2Eit%2subsite%2FLists%2Flist%20name%2FAview%20name%20default%2Easpx’. This “Source” tells the form where to take you after you’ve either filled it out or clicked cancel. As in this case the form will take you  to the default calendar view after you click Ok or cancel.

     

    I try to open the list as format of the send link ,and it shows up correctly . And it also works when open the url without the parameters after  ID. So I suggest that you should create  a new item in the calendar to test whether it works fine and what the url looks like .Give me this information ,so I can do some further research .

     

    For more information about &Source ,please refer to this site:

    May the &Source Be With You: http://www.sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?List=676af157%2D7d96%2D4e15%2Da987%2D54b8a3e4d948&ID=91

     

    Please let me know the result of your test at your earliest convenience .

     

    Thanks


    Regards, Rock Wang Microsoft Online Community Support
    Friday, May 27, 2011 10:45 AM
  • Hi,

     

    I understand that the same list item is different in their URL .I have a test based on your description. I find out that when edit an item in calendar the url is like ‘http://home.site.it/subsite/Lists/list%name/EditForm.aspx?ID=1183%2E1%2E2&Source=http%3A%2F%2Fhome%2Esite%2Eit%2subsite%2FLists%2Flist%20name%2FAview%20name%20default%2Easpx’. This “Source” tells the form where to take you after you’ve either filled it out or clicked cancel. As in this case the form will take you  to the default calendar view after you click Ok or cancel.

     

    I try to open the list as format of the send link ,and it shows up correctly . And it also works when open the url without the parameters after  ID. So I suggest that you should create  a new item in the calendar to test whether it works fine and what the url looks like .Give me this information ,so I can do some further research .

     

    For more information about &Source ,please refer to this site:

    May the &Source Be With You: http://www.sharepoint911.com/blogs/laura/Lists/Posts/Post.aspx?List=676af157%2D7d96%2D4e15%2Da987%2D54b8a3e4d948&ID=91

     

    Please let me know the result of your test at your earliest convenience .

     

    Thanks


    Regards, Rock Wang Microsoft Online Community Support

    thanks for the reply, i've found that the problem is not about the source parameters but is a problem of the ID parameter (see the second post into this thread). if i open the item in edit form with the url of the "edit item" link (/EditForm.aspx?ID=832.1.4) i receive error, if i use only /EditForm.aspx?ID=832 (without .1.4) the edit form open correctly. the item, i think, is a customization of a recurrence item, if this can help. 

    it's strange also that the source parameters contains in some item the absolute path and in the others the relative one, but it seems not to be the principal problem. thanks!


    logan
    Friday, May 27, 2011 10:55 AM
  • Hi ,

     

    I have a test about that kind of ID . ID is a  reserved column in the system .When an item is created ,it is assigned an unique ID .From the value of ID we can describe which  item is created earlier .You can show it by editing the view by doing:

    1.       Click view >Modify this view.

    2.       Choose ID in the columns field and give it a position.

     

    Take a look at the ID showing in the view .Is it the same as the ID in the URL ? If  not change the ID in the URL to the correct ID .Will it show an error this time?

     

    Please let me know the results of these actions at your earliest convenience .

     

    Thanks,


    Regards, Rock Wang Microsoft Online Community Support
    Tuesday, May 31, 2011 11:21 AM