OpenDocument url not working for rpt

openDocument seems to be working strange. (boxi rel 2)
1) if my url is:
openDocument.jsp
?iDocId=7486
&sType=wid
then it does not work.
I get msg "the value of parameter id is invalid"
I have to add the param &sDocName=somename
Seems to me that the id should be unique.
2) For CR reports
openDocument.jsp
?iDocId=7086
&sType=rpt
I get error msg:
"Error 500: com.businessobjects.sdk.plugin.desktop.webi.internal.d "
I can't figure out why that is bad. Do I have to specify a viewer?
Mike

Try this
http://server:8080/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?sType=rpt&sPath=[foldername]&sDocName=reportname
Regards,
Raghavendra

Similar Messages

  • Absolute URL not working for reply in workflow

    I've setup a workflow that will email a group when a new discussion or reply is added. I get the email with the subject of the discusssion and the absolute URL for new discussions, but when a reply is created the email comes without the subject and the absolute
    URL goes to a page that doesn't exist.

    Hi,
    When it comes to a reply in the discussion list, you need to take extra steps to get the URL. You can set the workflow actions like this:
    If Current Item: Content Type ID equals Discussion
    Email user group(use the Encoded Absolute URL in the email content)
    Else if Current Item: Content Type ID equals Message
    Email user group( Use this URL in the email body:
    http://servername/Lists/Team%20Discussion/Flat.aspx?RootFolder=%2FLists%2FTeam%20Discussion%2F[%Current Item:Discussion Subject%]. This will link you to the flat view of the discussion. If you want to link to the display form for the message, you can set
    the URL like this:
    http://servername/Lists/Team%20Discussion/DispForm.aspx?ID=[%Current Item:ID%])
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • Ciscoworks URL not working for RME change Audit Report.

    I have configured a 24 hour change report to send me an email everyday.  The Change audit link being sent by server is:
    http://ciscoworks.mickeymouse.disp:1741/rme/ChangeAuditReportJob.do?reportJobID=1167&reportJobInstID=2&launchedFromMail=true
    But I get the following error:
    Network Error (dns_unresolved_hostname)
    Your requested host "ciscoworks.mickeymouse.disp" could not be resolved by DNS.
    For assistance, contact your network support team
    But it can resolve the link without the domain name aka: "mickeymouse.disp"
    http://ciscoworks:1741/rme/ChangeAuditReportJob.do?reportJobID=1167&reportJobInstID=2&launchedFromMail=true
    Is this something wrong with my setup or with Apcahe/TOMCAT and they way it sends out the report link? Bug a Maybe?
    Please advise & Thank u in adavance!
    Erick

    If anyone is interested in my silly question/ answer. The solution was to add my domain-name to my browser..Case close

  • Image url is not working for Anonymous Portal - Help!!

    Hi Friends,
    We are using a JSPDynpage portal component iView for showing material information on portal. This portal is anonymous. So, to show the image we are using the below url, where ObjectServer mdm component is used to get the image. This is exactly as it is in the MDM standard item details iview.
    Inspite of making the iview authentication scheme as anonymous, adding the anonymous group to security zone of low_safety for com.sap.pct.mdm.appl.masteriviews still i am asked for logon details.
    can any one please let me know what else we need to do to make sure that this url (image) works for anonymous users on the anonymous portal.
    http://mipd/irj/servlet/prt/portal/prtroot/com.sap.pct.mdm.appl.masteriviews.ObjectServer?catalogName=MDM_Repo_DEMO_8_OCT_Service&variant=Original&table=Images&id=5937
    Thanks,
    Raghavendra

    duplicate
    LabVIEW Champion . Do more with less code and in less time .

  • Software Update Point Switching is not working for some Clients

    Hi there,
    I found nothing similar here and I hope this is the right section.
    I´m running ConfigMgr 2012 R2 where one of the Site Systems from one of the Primaries is located in an untrusted Forest in a perimeter Network. The Site System there has the MP, SUP and DB Roles. In general it works great. The Systems in that untrusted Forest
    get the SCCM Agent pushed, see and can install published Software packages and receive Windows Updates. But there are a few systems where everything works, except Windows Updates.
    So I had a deeper look at what is happening and found out that the SUP switching is not working for them. They always try to contact the SUP from the Primary, which they cannot reach (this is intended).
    From how I understand SUP switching as described here
    http://blogs.technet.com/b/configmgrteam/archive/2013/03/27/software-update-points-in-cm2012sp1.aspx#pi140062=1
    the Windows Update Agent tries to connect to a SUP every 30 minutes and after 4 failed attempts he will try to connect to the next one until he finds one which works.
    As I said before, this seems to work for most systems in the untrusted forest, but some do not make any intentions to switch the SUP.
    So my next step was to find out from where the Update Agent can get the information of the available SUPs. I think they either don´t receive the information that other SUPs exist, or if the Information is there, they don´t realize that there´s an error and
    make no attempt to switch.
    I used the System Center Support Center to gather all Information from some of the systems with that problems (Log Files, WMI information, registry information, policies etc.) but I cannot find where SCCM or the Update Agent store the information which SUPs
    are available in my environment.
    I´m sure the problem is on the Systems which fail to connect to the right SUP and not in the SCCM infrastructure itself, because for most of the systems everything is working just perfect. Unfortunately in the Blog Post above there´s also no information
    where this information is stored and how it is obtained by the clients. In the comments there´s even one post which describes the same problem I have here, but there was no answer. I hope someone can point me into the right direction, because I´m stuck currently.
    Things I tried additionally to all the log file / WMI / registry sniffing:
    Removing the Software Distribution Folder and restarting the Windows Update Agent
    Removing the WindowsUpdate Registry folder in the HKLM\SOFTWARE\Policies\Windows section in the Registry and restarting the Windows Update Agent.
    Tried to reset the WUAgent with wuauclt /Resetauthorization additionally to the steps above.
    I also tried to manually set the WUServer and WUStatusServer Keys in the registry to the new Server, but as soon as the next Update Scan cycle runs, the value is set back to the URL of the Primary Sites SUP
    Is someone having additional ideas? It seems to me older systems are more affected (which were configured for a standard WSUS before SCCM 2012 was deployed) than newer ones which were installed when SCCM was in place already. But I don´t know what else to
    "reset" on those machines without reinstalling them.

    Thank you very much for your response. I must have missed that one by looking through numerous Logfiles. In this, there´s indeed a list of all available SUPs. So according to the LocationServices.log the machine should have a choice.
    The WMI Key however, contains just one entry and this is the URL of the Primaries SUP which is not reachable in the untrusted forest. Is it OK that the WMI entry includes only one entry? If yes, what process is putting the results from the LocationServices
    into WMI? It seems like the Windows Update Agent is feeded from the WMI Key then. If this is the case my problems seems to be the "communication path" between these two components.
    Is this the job from the SCCM Agent, the Windows Update Agent or maybe some third component I´m not aware of? I wonder how I can fix this.

  • Cascading Select Lists - Not Working for me

    I am trying to implement Denes Kubicek's Ajax Cascading Select List solution.
    http://apex.oracle.com/pls/otn/f?p=31517:119
    But it is not working for me.
    I'm a newbie to APEX and checked the forum for advice on cascading select lists. I saw the thread for
    "Cascading Select Lists - Not Working" posted by sue and the replies by Varad Acharya, but I'm still
    having issues of not seeing the alerts, not able to run the pl/sql process in SQL Workshop, and not
    getting the expected results.
    I have a list of countries (US - USA, CA - CANADA, etc.) and a list of states for each country. When a
    user selects a country I would like to show the list of states within that country.
    This is what I've done so far:
    Defined an application process:
    Process Point: On Demand: Run ... by a page process.
    Name: CASCADING_SELECT_LIST1
    Process Text:
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ('<select>');
    HTP.prn ('<option value="' || 99 || '">' || '- All States -'
    || '</option>'
    FOR c IN (SELECT state_code || ' - ' || state_desc d, state_code r
    FROM tbk_state
    WHERE country_code = :cascading_selectlist_item_1)
    LOOP
    HTP.prn ('<option value="' || c.r || '">' || c.d || '</option>');
    END LOOP;
    HTP.prn ('</select>');
    END;
    defined and application item:
    Name: CASCADING_SELECTLIST_ITEM_1
    Build Option: - No Build Option -
    Created a 'Form on a table with report' as follows:
    Page 5: Report on TBK_HARDWARE_LOCATION
    Page 6: Form on TBK_HARDWARE_LOCATION
    in HTML Header of the page attributes for 'Form on TBK_HARDWARE_LOCATION' I have:
    <script language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    //-->
    </script>
    <script>
    function get_select_list_xml1(pThis,pSelect){
    var l_Return = null;
    var l_Select = html_GetElement(pSelect);
    alert ('Dept no=' + pThis.value);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
    get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
    gReturn = get.get('XML');
    // gReturn = get.get();
    alert('Enames=' + gReturn);
    if(gReturn && l_Select){
    var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
    for(var i=0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue)
    get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>
    On Page 6: 'Form on TBK_HARDWARE_LOCATION' I have the following items (plus some others):
    Name: P6_COUNTRY_CODE
    Display as: Select List
    HTML Form Element Attributes: onchange="get_select_list_xml1(this,'P6_STATE_CODE');"
    Source Used: Only when current value in session state is null
    Source Type: Database Column
    maintain session state: Per session
    Source value or expression: COUNTRY_CODE
    Named LOV: LIST OF COUNTRIES
    Name: P6_STATE_CODE
    Display as: Select List
    Source Used: Only when current value in session state is null
    Source Type: Database Column
    maintain session state: Per session
    Source value or expression: STATE_CODE
    Named LOV: - Select named LOV -
    List of Values definition:
         select state_code || ' - ' || state_desc d, state_code r
         from tbk_state
         where country_code = :P6_COUNTRY_CODE
         order by 1
    LIST OF COUNTRIES is defined as:
    select country_code || ' - ' || country_desc d, country_code r
    from tbk_country
    order by 1
    Now to the problem:
    I run page 5 (the report) to see the list of locations and then I try to edit a record (page 6). When I
    try to select a different country I get the following error (on IE):
    "Problems with this web page might prevent it from being displayed properly or functioning properly.
    In the future, you can display this message by double-clicking the warning icon displayed in the status
    bar.
    Line: 17
    Char: 5
    Error: Object expected
    Code: 0
    URL: http//cmrac4.cm.timeinc.com:7777/pls/htmldb/f?
    p=114:6:1413254636072443110::::P6_HARDWARE_LOCATION_ID:2
    I don't see any of the alert messages.
    I also tried to run the application process code in the SQL - Command Processor (I replaced
    :cascading_selectlist_item_1 with 'CA' or 'US') and got the following:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
    button, or try again later.
    Only one top level element is allowed in an XML document. Error processing resource
    'http://cmrac4.cm.timeinc.com:7777/pls/...
    <select><option value="99">- All States -</option><option value="X1">X1 - X1</option><optio...
    Can someone help me please?

    Varad,
    First, thank you for taking the time to try to help me with this problem.
    When I view the page's source code (here are the first few lines):
    <html lang="en-us">
    <head>
    <script src="/i/javascript/core.js" type="text/javascript"></script>
    <link rel="stylesheet" href="/i/css/core.css" type="text/css" />
    <script language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='Would you like to perform this delete action?';
    //-->
    </script>
    <script>
    function get_select_list_xml1(pThis,pSelect){
    var l_Return = null;
    var l_Select = html_GetElement(pSelect);
    //alert ('Dept no=' + pThis.value);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=CASCADING_SELECT_LIST1',0);
    get.add('CASCADING_SELECTLIST_ITEM_1',pThis.value);
    gReturn = get.get('XML');
    // gReturn = get.get();
    //alert('Enames=' + gReturn);
    if(gReturn && l_Select){
    var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
    for(var i=0;i<l_Count;i++){
    var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue);
    get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>
    It looks like line 17 is:
    var l_Select = html_GetElement(pSelect);
    I'm still not sure why I'm getting this error and why it's not working?
    Thanks,
    Eti

  • HT4890 Shared photoStream not working for public share

    Shared photoStream not working for public share and keep showing the same url for the first shared stream i have published. this means everytime i try to share to anyone else not using an iphone it comes up with page not found. I have also notice the in first initial public url which was given is the same url keeps showing up everytime i try to make it public. how do i reset or change that url so other public share stream will work. how do i get this to work

    I've read some posts from users with a similar problem who were able to fix this by changing the download folder (or just click Change next to Download Folder, then click cancel).  Not sure if this will work for you but thought I would pass it along.

  • IWeb is not working for sending podcasts to iTunes, so I need a new web building tool. What is the closest thing to iWeb that I can use, which also supports podcasts?

    iWeb is not working for sending podcasts to iTunes, so I need a new web building tool. What is the closest thing to iWeb that I can use, which also supports podcasts?

    There's no reason you can't go on using iWeb for this - with iWeb '08 you have to publish to a local folder (i.e. on your Mac) and then upload the contents of the folder (not the folder itself) to your hosting service: and you have to make sure you enter the new URL in the Publish information or the feed won't work properly; this done, an iWeb podcast should work fine.
    Of course there is still the problem that iWeb is not supported and sooner or later a system upgrade may break it. You could look at RapidWeaver: you can make podcasts with that, though the last time I looked into that - which was admittedly some time back - I didn't feel it was ideal for this. There are lots of other podcast creation programs or services around. WordPress is OK but it may be a bit of a steep learning curve: Libsyn is an online service that seems to work reliably. Blogger writes messy feeds but does usually work. Podcast Maker used to work well - I used it myself a few years back - but it rather looks as if it's gone moribund and it may not be reliable with Lion/Mountain Lion, so you would want to check into that.

  • Incoming Email not working for one web app, but IS working for others in same farm.

    I have enabled incoming email in a large multi-web application farm running SharePoint 2013 SP1 and the Feb 2015/March 2015 CUs that were pushed down in Windows Updates.  It works just fine for two web applications, but it will not work for one particular
    web application. I see the email land in the /drop folder. If I remove the email address from the library in http://nonworkingapp web
    application and use it on a library in a http://working web application, then the email is processed successfully. Conversely,
    if I take an address from a library in http://working and move it to a library inhttp://nonworkingapp it
    does not work. I've tried multiple site collections on http://nonworkingapp. This rules out any SMTP issues, etc. and means
    the issue is bound to this web application. Permissions are the same between the "non-working" and "working" locations: domain users are members on the site, and the library inherits permissions from the site.  The App Pool and Timer
    Service accounts have rights to the folder and to the library.
    The error in the ULS log is the typical error processing message, but it gives no additional information even though I have enabled Verbose logging.
    The Incoming E-Mail service has completed a batch. The elapsed time was 00:00: 00.0156294. The service processed 2 message(s) in total. Errors occurred processing 2 message(s): Message ID: Message
    ID:
    Typically, you see "alias not found" or some permissions or quota issue here, but this issue is NOT the same as those. In this case NO additional information is provided in ULS.
    Edit: running stsadm.exe -o refreshdms -url http://one/failing/site fixed some similar issues where "Unknown alias" was
    reported even though the list did have an alias (see here:http://blogs.technet.com/b/vinitt/archive/2009/07/15/e-mail-enabled-list-alias-information-is-not-synchronized-between-configuration-database-and-content-database.aspx).
    This did not fix the issue for the case mentioned above.
    What could possibly be the issue preventing incoming email from working on this one web application?

    Thanks for your reply.  Incoming E-Mail was running on all 3 WFE, however I do not think this was the cause.  As noted, _other_ emails send to http://workingapp are working just fine.  I can send two emails - one to a library on http://workingapp
    and another on http://notworkingapp.  The email to http://notworkingapp will sit in the drop folder, while the one to http://workingapp will be processed correctly.  In addition, the ULS log on WFE1 indicates an attempt to process the file fails.
     So clearly, the timer job on WFE1 is running and attempting to process the file.  For kicks, I disabled the service on WFE2 and WFE3, but with no change in the behavior.
    WRT to #1, I have done this already (as noted in the original post).  I can remove an alias from http://workingapp and place it on http://nonworkingapp and it is not processed.  If I return it to http://workingapp it is processed.  In other
    words, I go into Library Settings -> Incoming Email for a working library, and copy the alias, then disable incoming email for that library.  I then go to Library Settings -> Incoming Email for a non-working library, enable incoming email, and paste
    the alias.  Once done, emails sent to the alias are not processed.  I then do the reverse, and it works again.
    On #2, I have already tried multiple libraries on http://nonworkingapp (also as noted in the original post).
    In my environment, incoming email does not work for any library on http://nonworkingapp, but does work for any library on http://workingapp.  Troubleshooting listed above has ruled out any problem with basic mail server configuration or library settings
    - the problem is bound to http://nonworkingapp
    I'm not sure what you mean by "steps to reproduce the issue".  If I knew that, I would probably be able to solve the issue.  The best I could come up with to describe the situation would be:
    Set up SP 2010 in a three-node configuration with multiple web apps
    Enable incoming email and confirm it works
    Migrate to a SP2013 SP1 farm in a three node configuration.
    Enable a new email alias for a library
    Observe that it doesn't work for one web application.
    Obviously, it's pretty unlikely that attempting that in a lab would actually have the same result.

  • CancelUrl is not working for me

    Hi Gurus,
    I am using Oracle E-Business suit 11i application  (11.5.10.2).
    When i trying to access the below url its redirect oracle home page.
    https://iprodappsx.a2.abb.com/OA_HTML/fndvald.jsp?username=iatp&password=Oracle123&langCode=US&cancelUrl=https://iprodappsx.a2.abb.com/ilogin&requestUrl=APPSHOMEPAGE
    This url will redirect to below URL,
    https://iprodappsx.a2.abb.com/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE
    But when logout from oracle home page its redirect to Oracle login page with below URL,
    https://iprodappsx.a2.abb.com/OA_HTML/AppsLocalLogin.jsp?langCode=US&username=IATP
    Instead of that I need to redirect to cancelUrl (https://iprodappsx.a2.abb.com/ilogin) what i sent with cancelUrl parameter. But now its not working for me. Please help me if i missing anything or anything i did wrong.
    As oracle standard the logout is working according cancelUrl but for me its not working.
    Its very urgent for me, So please any one help me on this. With in two days its go for live. I spent more time on this but not yet cleared.
    Regards,
    Gopi

    Hi Gopi,
    I have not personally used this, but please see if the following note helps you:
    How To Change the Logout So That The URL Does Not Display the User Name? (Doc ID 1515991.1).
    Thanks &
    Best Regards,
    Asif

  • OOF not working for mailboxes homed on Exchange 2010 server during migration

    Hi There
    I'm troubleshooting an issue during a exchange 2010 to exchange 2013 migration where the OOF is not working for users homed on the exchange 2010 mailbox servers. This applies to users using outlook 2010 and outlook 2013 .OWA works perfectly and you can also
    enable OOF via exchange powershell.
    Users homed on the exchange 2013 servers does not have any issues.
    The exchange 2010 servers is on SP3 rollup 4 and the 2013 servers on SP1 only without any rollups installed.
    So my question will be - have anyone experienced this issue during migration and will patching the exchange 2010 servers to rollup 5 or 6 and the exchange 2013 to sp1 rollup 5 fix the OOF issue then? If requested the client to patch to these levels, but
    in the meantime I'm checking if anyone else had similar issues.
    Any pointers will be welcome.

    Hi ,
    1.Please check the problematic exchange 2010 user account can able to access the ews virtual directory internal url and you can check that via browser's.It will prompt for the user name and password , please provide that .
    EWS url wopuld be like - https://mail.youdomain.com/EWS/Exchange.asmx
    2.Then the second step would be autodiscover check for the problematic user account.you can find that via test email configuration .There you came to know whether outlook is fetching up the proper url for ews and autodiscover.
    3.Then please un check the proxy settings in browsers and check the same.
    4.please use the command to check the auto discover 
    test-outlookwebservices
    Please check the below links also.
    http://exchangeserverpro.com/exchange-2013-test-outlook-web-service/
    http://www.proexchange.be/blogs/exchange2007/archive/2009/07/14/your-out-of-office-settings-cannot-be-displayed-because-the-server-is-currently-unavailable-try-again-later.aspx
    http://port25guy.com/2013/07/20/user-cannot-set-an-out-of-office-in-exchange-20102013-or-eventid-3004-appears-in-your-event-log/
    http://www.theemailadmin.com/2010/06/exchange-server-2010-out-of-office/
    Regards
    S.Nithyanandham
    Thanks S.Nithyanandham

  • Exporting PDF files on CS5 - hyperlinks to URLs only work for first page

    I'm new to InDesign and am working through the "Classroom in a Book" training workbook for CS5, I 've got to lesson 14 and have found that when exporting to PDF (interactive) format, the hyperlink to a URL only work for the first page of the document.
    I made my own document with links on multiple pages, and the same thing happened. I followed the lesson to the letter (3 times!)
    I also tried setting up individual links for individual pages and that did work, so how do I get one piece of text to link to one URL on multiple pages of a document (ie on a Master page) ???

    Thanks Peter,  I've actually got CS5.5, so I presume this patch is already updated on this version, because when I tried the 7_0_4 patch it wouldn't run; giving the message: "Some updates failed to install, and "update is not applicable". So I tried the latest update: 7_5_2 patch, but I'm still experiencing the same problems with hyperlinks not working from the Master pages.

  • Document library open in client application not working for img,pdf,txt files

    In an office 365 sharepoint site i have enabled open in client applicartion for document library but it is not working for image/txt/pdf files for word and excel files it is working fine. I have even turned on the feature open document in client application
    by default from site collection features also but there is no change.
    Please advice.
    Regards,
    Chaitanya

    Hi Chaitanya,
    The feature is currently designed to be used with HTTPS, and will not work as expected with the HTTP connection available on Office 365 for professionals and
    small businesses sites.
    To take advantage of this update, do the following steps:
    Wait for the update to the SharePoint Online service, which is in progress now.
    Upgrade Adobe Reader to the version 10.1.2 client.
    Add your SharePoint Online root URL/domain to the Trusted Sites security zone in Internet Explorer1 (e.g., 
    https://contoso.sharepoint.com).
    Check the Keep me signed in box when you log in to a SharePoint Online site.
    This
    SharePoint Online update is currently
    being rolled out worldwide along with several other new features.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • JoinFieldValue function is not working for 'Partner'

    Hi All,
    I'm trying to get value from Partner in workflow, but there is an error message mentioned "<Partner>" is invalid, and then I'm looking for the online help, I found there is no referred record type for 'Partner', is JoinFieldValue function not working for 'Partner'?
    Does anyone know about it?
    Thanks in advance

    Using the Copy function link on a new Web Link Filed, you can pass parameters from one Object to another.
    1 - hit the "Copy" button on a CO Detail Page and grab the URL (This is the Destination Object, i'e I will pass information from Contact (Source) to this CO (Destination))
    Ex: https://secure-rmsomxxxx.crmondemand.com/OnDemand/user/CustomObject5.New?CustomObject5.NewForm.Id=XXXXXXX&OMRET1=CustomObject5.Detail%3fOMTGT%3dCustomObject5.Detail%26OMTHD%3dCustomObject5DetailNav%26CustomObject5.Detail.Id%3dXXXXXXX%26ocTitleField%3dName%26ocTitle%3dXXXXXXXXX%26ocEdit%3dY&OMTGT=CustomObject5.NewForm&OMTHD=CustomObject5PreCopyNav&OMRET0=CustomObject5.HomePage&OCTYPE=
    You would need only a small part from the above:
    https://secure-rmsomxxxx.crmondemand.com/OnDemand/user/CustomObject5.New?CustomObject5.NewForm.[Field you want to Copy]
    2 - Create a Weblink field on Contact and Expose it on the layout your role can see.
    3 - In the Weblink URL use the below
    https://secure-rmsomxxxx.crmondemand.com/OnDemand/user/CustomObject5.New?CustomObject5.NewForm.Description=%%%First_Name%%%
    Save your changes and you're done! you can now see that when you click the link you can pass the Contact First Name in the CO.
    Good Luck!
    Royston

  • SPSecurity.RunWithElevatedPrivileges Not Working for Read Only Permissions Users

    I have the following code in a method that generates tabbed web parts on any page in SharePoint 2010.
    The problem is that it will not work for users who have Read access only on a SharePoint site.  It will work when those users have Contribute access.  
    So even though I have elevated permissions in the code it does not actually elevate the permissions at the point where it is needed.
    if (panel != null)
    try
    using (SPLimitedWebPartManager wpManager = SPContext.Current.Web.GetLimitedWebPartManager(HttpContext.Current.Request.Url.ToString(), PersonalizationScope.Shared))
    try
    // Elevated previleges required for EXPORT and IMPORT. Else Users with normal read access will get errors.
    SPSecurity.RunWithElevatedPrivileges(delegate()
    // Retrieve the web part titles in the ConfigureTabs XML string for this tab.
    var webPartTitles = from t in xDocument.Descendants("webPart")
    where (string)t.Parent.Attribute("name") == (string)e.Item.DataItem
    select (string)t.Attribute("title");
    foreach (string wpTitle in webPartTitles)
    foreach (System.Web.UI.WebControls.WebParts.WebPart webPart in wpManager.WebParts)
    // Find the matched closed web part in WebParts collection
    if (webPart.Title == wpTitle && webPart.IsClosed == true)
    string errorMessage;
    //ADD EXPORT PROPERTY
    webPart.ExportMode = WebPartExportMode.All;
    MemoryStream stream = new MemoryStream();
    XmlTextWriter writer = new XmlTextWriter(stream, System.Text.Encoding.UTF8);
    // Export the closed webpart to a memory stream.
    wpManager.ExportWebPart(webPart, writer);
    writer.Flush();
    stream.Position = 0;
    XmlTextReader reader = new XmlTextReader(stream);
    // Import the exported webpart.
    System.Web.UI.WebControls.WebParts.WebPart newWebPart = wpManager.ImportWebPart(reader, out errorMessage);
    reader.Close();
    writer.Close();
    // Show the imported webpart.
    panel.Controls.Add(newWebPart);
    break;
    catch (Exception ex)
    // For debugging use only.
    Label label = new Label();
    label.Text = "Please check your XML configuration for error. " + Environment.NewLine + ex.Message;
    panel.Controls.Add(label);
    catch (Exception ex)
    // For debugging use only.
    Label label = new Label();
    label.Text = "Please Check SPContext.Current.Web is not null. " + Environment.NewLine + ex.Message;
    panel.Controls.Add(label);
    This snippet of code was originally pulled from a microsoft technet article on creating Tabbed web parts "the correct way" but it doesn't work in all scenarios.
    Is there a way to get this code working for Read/Visitors to a SharePoint site?

    From initial observation what I see is that your SPLimitedWebPartManager is not created from an elevated web. Try like below
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using(SPSite elevatedSite = new SPSite(SPContext.Current.Site.ID))
    using(SPWeb elevatedWeb = elevatedSite.OpenWeb())
    using (SPLimitedWebPartManager wpManager = elevatedWeb.GetLimitedWebPartManager(HttpContext.Current.Request.Url.ToString(), PersonalizationScope.Shared))
    { //Rest of your code
    Geetanjali Arora | My blogs |

Maybe you are looking for