Special Character in Subject Field of Discussion Forum

I am creating a new discussion, in the subject when i enter "Portal Discussion?" then it gives error that special character is not allowed. But i want to use the "?" in the subject at the time of creation.
After creating the discussion i can edit the same thing with special characters, then why SharePoint is not allowing to enter special character at the time of creation.

Hi 
Refer this link
http://social.technet.microsoft.com/Forums/office/en-US/6e7a7eae-26fc-467f-bfdc-7c5d5ff49a95/discussion-forum-storing-special-character-in-title-differently?forum=sharepointdevelopmentlegacy
It seems that SharePoint will allow the Title of the discussion board to remain with the special characters, but the actual URL will not be allowed and will strip them from the final URL.  SharePoint Manager easily shows this, btw.
So, there are probably many different ways to get what you are looking for, but one way could be to have a Linq query look for all Discussion Boards on a given site and then return the Title and the DefaultViewUrl, which the latter could then be prefixed by
the SPWeb.Url to give you something like "Testing? , /" for the title and http://mysite/Lists/Testing/AllItems.aspx (assuming
that is the actual default view) which you could then use as the final URL for your hyperlink in your web part.
In the code snippet below you can see the Linq query (which I assumed from your post that you need to query to find the Discussion Boards) and a simple DataTable that you could then use to populate a repeater or you just omit the DataTable and
enumerate the results from the query yourself:
var linqResults
= from list in oSPWeb.Lists.Cast<SPList>() where list.BaseTemplate
== SPListTemplateType.DiscussionBoardselect list;
DataTable oDataTable
= new DataTable();
DataColumn oDataColumn_Title
= new DataColumn("Title", typeof(string));
oDataTable.Columns.Add(oDataColumn_Title);
DataColumn oDataColumn_URL
= new DataColumn("URL", typeof(string));
oDataTable.Columns.Add(oDataColumn_URL);
foreach (SPList oSPList in linqResults)
DataRow oDataRow
= oDataTable.NewRow();
oDataRow[
"Title"]
= oSPList.Title.ToString();
oDataRow[
"URL"]
= oSPWeb.Url + oSPList.DefaultViewUrl.ToString();
oDataTable.Rows.Add(oDataRow);
oDataTable.AcceptChanges();
Please remember to click 'Mark as Answer' on the answer if it helps you

Similar Messages

  • LR 2 - special character in caption field

    I'm using LR 2.6 and a custom template to generate a flash gallery.
    The problem is my language which is Norwegian and contains characters like æøå and these behave strange when creating a web gallery.
    In the library the caption field looks ok, but when exported to web, they make an extra whitespace and that's annoying.
    I've looked into the xml file and can't see any whitespace there, so probably the problem appears when the swf file is created.
    How do I control the output in the caption field when using special characters?
    I've tried to change the encoding in the group.xml file, but it doesn't help. Also tried using entities for the characters such as &#229; and &aring;, it didn't help either.
    //kfinsrud

    Hi 
    Refer this link
    http://social.technet.microsoft.com/Forums/office/en-US/6e7a7eae-26fc-467f-bfdc-7c5d5ff49a95/discussion-forum-storing-special-character-in-title-differently?forum=sharepointdevelopmentlegacy
    It seems that SharePoint will allow the Title of the discussion board to remain with the special characters, but the actual URL will not be allowed and will strip them from the final URL.  SharePoint Manager easily shows this, btw.
    So, there are probably many different ways to get what you are looking for, but one way could be to have a Linq query look for all Discussion Boards on a given site and then return the Title and the DefaultViewUrl, which the latter could then be prefixed by
    the SPWeb.Url to give you something like "Testing? , /" for the title and http://mysite/Lists/Testing/AllItems.aspx (assuming
    that is the actual default view) which you could then use as the final URL for your hyperlink in your web part.
    In the code snippet below you can see the Linq query (which I assumed from your post that you need to query to find the Discussion Boards) and a simple DataTable that you could then use to populate a repeater or you just omit the DataTable and
    enumerate the results from the query yourself:
    var linqResults
    = from list in oSPWeb.Lists.Cast<SPList>() where list.BaseTemplate
    == SPListTemplateType.DiscussionBoardselect list;
    DataTable oDataTable
    = new DataTable();
    DataColumn oDataColumn_Title
    = new DataColumn("Title", typeof(string));
    oDataTable.Columns.Add(oDataColumn_Title);
    DataColumn oDataColumn_URL
    = new DataColumn("URL", typeof(string));
    oDataTable.Columns.Add(oDataColumn_URL);
    foreach (SPList oSPList in linqResults)
    DataRow oDataRow
    = oDataTable.NewRow();
    oDataRow[
    "Title"]
    = oSPList.Title.ToString();
    oDataRow[
    "URL"]
    = oSPWeb.Url + oSPList.DefaultViewUrl.ToString();
    oDataTable.Rows.Add(oDataRow);
    oDataTable.AcceptChanges();
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • YouTube app don't accept special character like '&' in field password

    Like the subject... I link my YouTube account with Google account and when i login i get incorrect login. I change my Google password deleting character '&' and now login work. Please fix this bug.
    Thank's

    It'a know bug? Or doesn't work only for me???

  • Subject line on discussion forums.

    When using my phone to post on boards like this.  It tells me I have to enter something in the subject line and won't let me post. 
    Even if there is something posted in the subject line it still thinks its blank.

    What browser are you using?
    I have not have this happen with IE 8 yet.
    For a new post or reply?
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Is there any discussion forums for developer 2000

    Hello All,
    Fortunately or unfortunately at this point of time in my career I need to work on oracle developer 2000, just wanted to know are there any discussion forums specially for FORMS
    cheers

    are there any discussion forums specially for FORMSSure. You'll find them Forms.
    Cheers, APC

  • How to discard the special character from field-Table.

    Hi
    In my data i am having a lot of SPECIAL CHARACTER also involved, I want to display only the consumer name (PURELY), is there any method/function module to discard the special character and display only the A-Z character as stored in DB.
    Gaurav

    if itab-field CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    or
    if itab-field CP 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
    then do ur else calculation.
    else.
    delete itab.
    Edited by: tahir naqqash on Feb 17, 2009 4:27 PM
    Edited by: tahir naqqash on Feb 17, 2009 5:21 PM

  • HOW WE CAN VALIDATE A FIELD THAT SHOULD NOT BE SPECIAL CHARACTER?

    HOW WE CAN VALIDATE A FIELD THAT SHOULD NOT BE SPECIAL CHARACTER?

    data : v_abcde like sy-abcde,
             v_num like '0123456789',
              v_data(60) type c.
    start-of-selection.
    v_abcde = sy-abcde.
    concatenate v_abcde v_num into v_data.
    if ur field co v_data
    else.
    message.
    endif.

  • We have three discussions forums with same subject. whenever a post gets new reply in one forum, it should automatically trigger workflow functionality to check conditions and send the same reply to other synchronized forums.

    we have three discussions forums with same subject. whenever a post gets new reply in one forum, it should automatically trigger workflow functionality to check conditions and send the same reply to other synchronized forums.
    Rajiv Kumar

    Hi,
    More details about your discussions forum will make others easier to find a corresponding solution on your requirement.
    If you mean there are three Discussion Board list waiting for synchronizing, I would suggest you create an Event Receiver for the three Discussion Board list.
    Here is a link with code demo about how to copy items from one Discussion Board to another including Replies:
    http://spcodes.blogspot.com/2013/03/programmatically-copy-items-from-one.html
    Here is a step by step sample on creating a simple Item added event receiver for Custom List in SharePoint 2010:
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    More information on Event Receiver for your reference:
    http://msdn.microsoft.com/en-us/library/gg749858(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/ff408183(v=office.14).aspx
    Feel free to reply if there are still any questions. 
    Best regards
    Patrick Liang
    TechNet Community Support

  • How do I get Special character Euro symbol € to display ?

    Hi,
    How do I get the euro symbol € to display in Flash from
    PHP file created in DW ?. It does not display it properly. I have
    simplified the PHP code I have is:
    <?php
    $msgtoflash = "This is the Euro Symbol &#8364";
    print ("&Databaseinfo=$msgtoflash");
    ?>
    The &#8364 is a special character code for HTML.
    If I use the $ or £ symbols it works perfectly but not
    € ?
    Thanks,
    Paul

    maith wrote:
    > Im using Actionscript2. I had placed a query in Flash in
    "General
    > Discussions", before I came on the Dreamweaver Forum,
    but got no reply.
    The way to get the euro symbol to display in Flash is to use
    XML. I have
    tested this, and it works:
    euro.php
    <?php
    header('Content-type: text/xml');
    echo '<root>
    <elem>This is the euro symbol:
    &#8364;</elem>
    </root>';
    ?>
    ActionScript 2.0 to display the value of <elem> in a
    dynamic text field
    called myText:
    var myXML:XML = new XML();
    myXML.ignoreWhite = true;
    myXML.onLoad = handleLoad;
    myXML.load('
    http://localhost/test/euro.php');
    function handleLoad(success) {
    if (success) {
    var theRoot:XMLNode = this.firstChild;
    myText.text = theRoot.firstChild.firstChild.nodeValue;
    } else {
    myText.text = 'Not working :(';
    Handling XML in ActionScript 2.0 is like poking needles in
    your eyes,
    but it's the only way I have been able to get the euro symbol
    from an
    external source into a Flash movie.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • SCEP - Using a variable in the Subject field

    Hi
    Has anyone out there successfully installed a SCEP certificate on an iOS device using a unique identifier of some sort in the subject field? We are using iPhone configuration utility but ultimately want to use Apple configurator.
    We can install the certificate, but cannot get the common name (CN) to populate using something like the device serial number or UDID. We have tried variations on CN=SERIALNUMBER, CN=%SERIALNUMBER%, CN = %$UDID%, CN = $UDID$ but it just populates the field with the string itself rather than the device serial number or UDID.
    I know others have posted similar issues on this forum:
    https://discussions.apple.com/message/22162313#22162313
    https://discussions.apple.com/message/22162318#22162318
    https://discussions.apple.com/message/20635765#20635765
    But no-one seems to have successfully managed this.
    Any help or pointers would be greatly appreciated.
    Thanks, Mark

    Simple answer... When I used the variable, I marked it as a string.  There is an email address setting.

  • Special character in title property of file in KM

    Hi Friends,
    In KM, I have uploaded some german,spanish files. When I set title with special character It shows square characters. If I write unicode, I displays unicode as it is..
    So Can anybody help me in this case?

    Hi 
    Refer this link
    http://social.technet.microsoft.com/Forums/office/en-US/6e7a7eae-26fc-467f-bfdc-7c5d5ff49a95/discussion-forum-storing-special-character-in-title-differently?forum=sharepointdevelopmentlegacy
    It seems that SharePoint will allow the Title of the discussion board to remain with the special characters, but the actual URL will not be allowed and will strip them from the final URL.  SharePoint Manager easily shows this, btw.
    So, there are probably many different ways to get what you are looking for, but one way could be to have a Linq query look for all Discussion Boards on a given site and then return the Title and the DefaultViewUrl, which the latter could then be prefixed by
    the SPWeb.Url to give you something like "Testing? , /" for the title and http://mysite/Lists/Testing/AllItems.aspx (assuming
    that is the actual default view) which you could then use as the final URL for your hyperlink in your web part.
    In the code snippet below you can see the Linq query (which I assumed from your post that you need to query to find the Discussion Boards) and a simple DataTable that you could then use to populate a repeater or you just omit the DataTable and
    enumerate the results from the query yourself:
    var linqResults
    = from list in oSPWeb.Lists.Cast<SPList>() where list.BaseTemplate
    == SPListTemplateType.DiscussionBoardselect list;
    DataTable oDataTable
    = new DataTable();
    DataColumn oDataColumn_Title
    = new DataColumn("Title", typeof(string));
    oDataTable.Columns.Add(oDataColumn_Title);
    DataColumn oDataColumn_URL
    = new DataColumn("URL", typeof(string));
    oDataTable.Columns.Add(oDataColumn_URL);
    foreach (SPList oSPList in linqResults)
    DataRow oDataRow
    = oDataTable.NewRow();
    oDataRow[
    "Title"]
    = oSPList.Title.ToString();
    oDataRow[
    "URL"]
    = oSPWeb.Url + oSPList.DefaultViewUrl.ToString();
    oDataTable.Rows.Add(oDataRow);
    oDataTable.AcceptChanges();
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Tweak SharePoint 2013 Discussion Forum

    I have a discussion forum created in SharePoint 2013.  I want to make some minor tweaks, but searched everywhere on how to do it and changing random settings is getting me nowhere.  
    Add choice column
    I would like to add a category as a Choice column so that it shows up:
    1.    In the Subject view, ideally before the author.  E.g.
    My question about so and so
    CategoryXYZ | By Randar Puust | Latest reply by Randar Puust | About an hour ago
    2.    Editable when I add or edit a post.  I know I can do this through List Settings.  I just want to makes sure the solution to 1 does not break this.
    Default for Question
    I would like to make the Question field Yes by default.  Everything starts as an unanswered question unless they explicitly turn it off.
    Note: I am not afraid of changing code if I need to, but I've never actually done any code level customization of SharePoint.  I've barely used the SharePoint designer.  So not quite a newbie, but far from a guru.

    In terms of using the Discussion Board app, either I'm not understanding what you mean (which is very possible), or you may not realize how restricted the discussion app is 2013.  The three out of the box views (Threaded, Flat and Subject) do not allow
    any customization at all.  I can't even add columns.  I've tried to add the columns like so:
    But they do now show up in any of the views.
    I can get it to show up when the discussion item is created and when I export to Excel, but I cannot get it to show up in the threaded view.  I would include more screenshots, but this forum only allows 2 images per post, so hopefully these screenshots
    help clarify my challenge.

  • SharePoint key word query, how does the "Query Text" query special character in a query variable?

    I have a no code sandbox solution, in a content by search web part, I want to return pages from the library except the page I am visiting.
    I have 2 pages:
    Page A, the title is: Page title without special character
    Page B, the title is: Page title with special character "a b c d ..."
    And then I use Title<>{Page.Title} in the query text of the CSWP.
    While I visit Page A, the CSWP returns Page B, it works as expected.
    But while I visit Page B, the CSWP returns nothing, expected result should be Page A. I just consider, whether the special characters in the Title of Page B breaks the query text.
    I can not find similar topics in the forum, Does anyone have idea?
    Many thanks!

    Thank you for your feedback, Daniel.
    I have some updates, and found the root cause: if the field value contains special characters, the CSWP will not render the double quotation marks around the field value.
    View the page html source, and then find the text "QueryModification", you will see what happen:
    Query Text Input: Title<>{Page.Title}
    1. While the page title is "Test Page 1" (without special character), the rendered query text is
    Title<>\"Test Page 1\". It works as expected.
    2. While the page title is "Test-Page-1" (with special character "-", of cause we have more special characters on production), the rendered query text is
    Title<>Test-Page-1.  The double quotation marks are not rendered by the CSWP, so the query text are broken. It does not work as expected.
    If I make the query text as Title<>"{Page.Title}"
    1. While the page title is "Test Page 1", the rendered query text is
    Title<>\"\"Test Page 1\"\". It does NOT work since the
    quotes are duplicated (no sure why CSWP duplicates the quota mark),
    2. While the page title is "Test-Page-1", the rendered query text is
    Title<>\"Test-Page-1\".  Quotes are correct, but it does NOT work as expected still.
    The expected rendered query text (view from the html source) should be
    Title<>\"Test\\\-Page\\\-1\". (Here is test url: <a href="http://server/_api/search/query?querytext='Title<>"Test%5c%5c%5c-Page%5c%5c%5c-1"'&rowlimit=10">http://server/_api/search/query?querytext='Title<>"Test%5c%5c%5c-Page%5c%5c%5c-1"'&rowlimit=10)
    From the above information, I can say the CSWP not handle the special character correctly ("\" is not inserted before any special charactor).
    Is there any setting in CSWP can be used to resolve above problem?

  • Special character standardization and cleansing

    For foreign character transliteration.  Can OEDQ examine a field's entry character by character, or would it need to do a token by token analysis from a reference list.  Either way I'd like to use a reference list containing special characters, but it would be more convenient to use a pure list of special characters rather than a long list of words (tokens) containing those characters.

    Hi Mike,
    Thank you so much for taking time out to answer. Yes these questions are based on doing work in UCM.
    Let me dive a little deeper and get specific.  I think what you're saying is that OEDQ has OOTB functionality that will support any character set, just some (Double-Byte, Arabic) take a little more work than others.  What I want to do in this case is have Polish special characters appear in the UI in their Polish form.  I don't want them substituted for normalized English, or any other characters.
    In the matching process we don't want these special character tokenized attributes to enter the auto-match with similar (but different) English versions automatically.  We will probably want them to enter the suspect match queue for data steward (librarian) review. That is a matter of the match rules tuning process.  Which will be the next thing I'm querying this forum about.
    What I think you are saying in the previous reply is that OEDQ OOTB functionality has the ability to publish Polish special characters in the UI and we can adjust the matching rules during the tuning process to ensure that a data steward checks a special character vs. non-special character exact match?
    Thanks-Aaron

  • Error while releasing transport request -  Special character "_" in generic

    Hi all,
    we're receiving the error  Special character "_" in generic key  when releasing a best practice transport.
    Note 1304725 describes my error, but the solution cannot be implemented. The reason for this is that we do not have an individual entry for eacht yb_PS,..,
    but we have only one entry where field BWERT has a wildcard '*' as entry.
    Does anyone has  some idea how to solve this ?
    kind regards !

    Hello Bjorn,
    How did you get this solved?
    I'm having nearly the same issue:
    A custom-table with a total key lenght of about 365 characters. As soon as I enter a special character (_) in the key field just before the position 120, the message tk287 rejects the entry. Entering the special character in a key field at about key position
    60, there's no message rejecting the entry.
    Regards

Maybe you are looking for