Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Problem with Profiles

  Asked By: Geena    Date: Sep 05    Category: Sharepoint    Views: 562

I have a problem with SPS when creating a new Profile.
Usually when I create new properties, the SPS don't give no
errors.... But this time when I was creating a new propertie, (Doc
Number), it says:
"The name for this profile property contains one or more
invalid characters. Detail: Profile properties can only contain
characters that are valid in XML names"
Does anybody have a clue?



6 Answers Found

Answer #1    Answered By: Cassie Snyder     Answered On: Sep 05

You don't have any greater than , less than signs ,
apostrophes or semicolons in the name?

Answer #2    Answered By: Parijat Pathak     Answered On: Sep 05

Nothing. Just that space between the two words.

Answer #3    Answered By: Ella Sargent     Answered On: Sep 05

Spaces not allowed, did not catch that on your first post. The
error message is correct, xml  names can not contain spaces. The
property name is used under the covers as a name in an xml document
which is why it must conform to the xml name criterial.

Answer #4    Answered By: Ahmad Johns     Answered On: Sep 05

I don't understand. Are you talking about the profile  name or
property name. I already created properties  with spaces,
ex: No project
and had no problems...

Answer #5    Answered By: Roxanna Hendricks     Answered On: Sep 05

Property names is what I was working with. My systems do not accept
property names with spaces, same error message. You have a property  name that
contains spaces? I would guess profile  names are the same but have not tried.

Answer #6    Answered By: Stacia Guy     Answered On: Sep 05

I would suggest checking the locale/regional setting of the computer you
used when creating  these properties. Would it be your client is really sending
some non-printable charaters to the SPS server because your client is using some
localized input methods, etc.?

We can create  property names with space in SPS 2001 (I have no experience
on v2.0 yet).

But we decided not to use space because referencing these properties' URI
(i.e. "urn:schemas-microsoft-com:office:office#DocumentNumber")sometimes become
complicate when we develop some inhouse codings.

What we do is create properties  without space (like "DocumentNumber") to
ensure the URI got nonspace name. But then we update the name and
description back to "Document Number". Then users see names with space
but internal URI got no space.

We try to use such method for profiles  but then we found that the profile
display in Advance Search have no space even we update the description
afterward. And some users feel strange about this. So we keep using space for
profiles. Anyway, this does not affect our own codings.

Didn't find what you were looking for? Find more on Problem with Profiles Or get search suggestion and latest updates.