Customer Portal

Get Involved. Join the Conversation.


  • HT

    Following code is wrong:


    if (!window[statusId]) { //NO RESPONSE: You can inform your user that server is not responding //gblError = 1; this.topics.innerHTML = "<div id='error'>The Frequently Asked Questions are currently unavailable. Please check back later.<br><br></div>"; }


    It should be: 



    if (!window[statusId]) { //NO RESPONSE: You can inform your user that server is not responding //gblError = 1; handler.topics.innerHTML = "<div id='error'>The Frequently Asked Questions are currently unavailable. Please check back later.<br><br></div>"; }




    However, this doesn't explain the back button. Make this change. If it doesn't work, create a test page that fails, and give me the link (a link to actual page that fails. Not to javascripts).




  • Douglas Hensel

    We have left the code that errors out on us at the site:


    The javascript we're using for the syndication widget is found at:


    Internet Explorer 6 and 7 both crash on us when we use this code, only when we hit the back button.  The changes I have made in the JS are between lines 247 and 287.


    Thank you so much for taking a look at this.  I'm stumped and feel like if I start toying around with the code I may cause a bigger problem.

  • HT



    Without seeing your script it will be difficult for me tell what may be occuring. If you give me a link to the page and tell me what browser you are using, I wil be happy to take a look.


  • Ernie Turner

    Correct, they will not have to change the URL's on their site. Whenever a link is followed to an old enduser URL, if there is an entry in the url_mappings.txt file, the request will be redirected. If there is no mapping for the request that was made, then the user will just be redirected to the Customer Portal home page.


    Ideally the customer should update their URL's. The url_mappings.txt file will work in the meantime, but it would be a better long term approach for them to link to the correct place.

  • Douglas Hensel

    I have encountered an issue...

    We put the server-check code in place, but when users hit the "back" button on their browser, it kills the webpage.  In my instance, it actually crashed my entire browser.  Could you direct me in figuring out what may be occuring here and a possible for it?


    Thank you very much.

  • amy ferguson

    Can clarify what you mean by "...old enduser requests are redirected"?


    Customer has hard coded urls on their site that link to RN site feedback, ask, and a custom form.  Can you confirm that they can edit the url_mappings.txt file to redirect these links so that they do not have to change the urls on their site?

  • Ernie Turner
    Unfortunately the contact type field isn't one of the available types of input fields on the contact table. In the November '08 version and later you can view all of the available fields by viewing the Business Objects page in the tag gallery (<site>/ci/tags/businessObjects).
  • kathyj
    this is great news...your support team told me it would not work!!
  • Ernie Turner
    Yes this will work in the August '08 version. You can configure where old enduser requests are redirected to by editing the /euf/config/url_mappings.txt file through WebDAV.
  • kathyj
    Does this work in the August 08 version of CP?
  • Ernie Turner
    The rn_widgets.css file in addition to the /css/widgets/standard/reports/Grid.css file are the CSS files used to customize the Grid report, so you have that right. There might be two problems I can think of. First, are you sure you're viewing your pages in development mode? Second, CSS files will be cached pretty heavily in the browser, so its possible you're not seeing the differences because of that. After you upload the changes, force the browser to redownload all files for the page. This can by done by hitting Ctrl+F5.
  • Christopher Tarabochia

    I just sent the documentation to your email address above.



  • anne

    Thanks Monique,


    However I've the impression that you example isn't right.

    As far as I can see it is the same example as the topic starter started with, so the used URL appears wrong to me and is at least different from the one you mention in your message.

    Furthermore the code creates, I think, the problem with the @ you mentioned in an earlier message.

    Do you agree?




    I've found a serious problem in the original example of the topic starter.

    He has the variable  p_email instead of p_email.addr.



    I've implemented your suggestions and when I try the script I end up on the page:

    http://<my company>


    and I still need to login on the customer portal and the new user is not created, so apparently the script is not doing what it is supposed to do.


    The script I use is this one:


    header("Content-type: text/html; charset=UTF-8");
    $params['p_userid'] = "janpiet";
    $params['p_passwd'] = 's8df6tsdf76tsd';
    $params['p_email.addr'] = '';
    $params['p_li_passwd'] = 'N75JHc,WH9';

     foreach ($params as $key => $value) {
       $params_str .= $key.'='.($value).'&';
      //echo $params_str;
      $redirect_url = 'http://<mycompany>';
      $redirect_url .= base64_encode(strtr(substr($params_str, 0, -1), array('+' => '_', '/' => '~', '=' => '*')));
      //echo strtr(substr($params_str, 0, -1), array('+' => '_', '/' => '~', '=' => '*'));
      //echo $redirect_url;
       header("Location: $redirect_url");



    I've removed here the specific company name.

    The details specified are not in the database so the script it supposed to add this information and perform a log in.


    I can't find any problems. So please can you look at it?


    And just a question that came to my mind:

    The integration manual nov 08 on p 117 says:"After you have completed these steps, you will need to deploy the RightNow Customer Portal."


    What is exactly meant by that?


  • cjamerlan
    can anyone point me in the right direction with the documentation?  Thanks
  • david fulton

    Just echoing Ernie's response here - the Dynamic Forms tutorial (I assume that some of the examples that you have built out were the starting point for some of your work) states that the event bus as it stands can be used for our of the box fields - and although November '08 allows you to build event bus entries for custom fields - you are going to have to build them out yourself. That in itself is probably the largest amount of effort you'll encounter. Once you have that built out, the rest of your work should be as easy as the event bus example I used in the tutorial.


    Keep us in the loop as far as your progress.