MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

MOSS 2007 CEWP wierdness

  Date: Oct 13    Category: MOSS    Views: 598

I've got a Content Editor Web Part where I've linked to several documents in a
library on the same site. It seems, though, when a PDF is edited by going
through Windows Explorer that somehow the CEWP code is changing. This causes
the link to become invalid as it is looking for a different file.

This code was inserted by clicking on the Source Code button. The original file
referenced is called t.9_code_yellow.pdf. Once the edit is complete, two things
occur: the link in the CEWP is changed (the last file name I saw was AAB02828)
and I also see a file in the site collection recycle bin that corresponds to the
time of the edit with that new AAB02828 file name. I've attached a snippet of
the code that I'm using:

<td class="ItemNum" style="background-color: #ffa500;"><font color=#ffffff><a
<td class="ItemDesc"><a

Any idea what's causing this? I've been racking my brain trying to figure out
what sort of relationship would cause the code in the web part to change but
I've got nothing. I've tried repeating this process with a Word document but it
seems to behave properly. Any help would be appreciated!



2 Answers Found

Answer #1    Answered On: Oct 13    

I'm not seeing where the problem is here and can't imagine that SP is
allowing this at the CEWP. What version SP are you in?

The only suggestion I have is that the first URL href is not in quotes
but does not account for the behavior. Is there anything odd about the
name of the file itself? I see the underscores in the filename
itself...try a different filename to test? Also is "Policy Documents" a
space or underscore? Missing "%20"?

Answer #2    Answered On: Oct 13    

This is MOSS 2007. Many of the code discrepancies you're noticing must have
occurred in my copy/paste into this message. All of the href statements are
enclosed in quotes and the name of the library is Policy_Documents. I'll see
if a more normal filename exhibits the same behavior.

Didn't find what you were looking for? Find more on MOSS 2007 CEWP wierdness Or get search suggestion and latest updates.