Using the EDK in ASP Pages

Hi there,
I have an ASP Portlet that I would like to move to use the EDK. (It formerly used the GDK). As it is quite a large application, moving it to .NET is not possible at this time. Does anyone have any experience with this?
The overall objective is to set Administrative Settings of a portlet. To do that, I want to use the RemoteSessionFactory to create an IRemoteSession which is used to call the PortletManager to open a portlet. The final goal is to get the IPortlet interface (from Plumtree.Remote.PRC) . Once I have the IPortlet Interface, I am able to get/set Administrative settings.
(For those of you who would recommend using the Portal Server API, the problem I have then is that once I change the administrative settings, the new settings are not picked up until I restart the portal on the portal server. It appears that the Portlet stays in the globalgadgetcache and does not know that it has been updated. Please let me know if there is a way to force that update form the Remote Server)
I've basically tried 2 options, with both resulting in the following problems.
1. Calling the EDK directly from the ASP, using Server.CreateObject. I have 2 major problems here. The firsrt is, it appears that the object I wish to use is not creatable. (RemoteSessionFactory) I have successfully created some classes off the EDK using Server.CreateObject. For example, Server.CreateObject("com.plumtree.remote.prc.xp.XPAdminPortletSettingsPersistence") seems to work. Unforutnately, I can not figure out how to get my IRemoteSession in ASP. If anyone knows how, I would be very grateful.
The other problem I have with using Server.CreateObject is that some of the objects I can find PROGIDs for do not create successfully. Here, I receive the error that the "DLL or some of its dependencies can not be found". This is noteable because of my strategy #2.
2. I have created a wrapper class that IS createable using Server.CreateObject. I can then create this class and call it's functions from the ASP. This C# .NET DLL references the EDK.dll. When I call functions in my class that to not use the EDK ( Set oPISettings = Server.CreateObject("PISettings.PIRemoteAdminSettings"), Response.Write "<BR>" & oPISettings.TestClass() ) it works fine. However, as soon as I try to use the EDK to open the RemoteSessionFactory (IRemoteSession session = RemoteSessionFactory.GetExplicitLoginContext(new System.Uri(sURI), sUserName, sPassword);) then I get the same error as above "the DLL or one of its dependencies can not be found". Interestingly, I can use SOME parts of the EDK - for example all of the classes that I can create in ASP - but not that Remote Session Factory.
With EDK 5.1 being signed, I thought my problem would be solved by putting the EDK into the Global Assembly Cache. I have put the EDK and OpenFoundation in. I have also registered them both using REGASM.exe. Neither fixed my problem. I have also installed the Microsoft Web Services Extensions (and put the dll in the GAC)
I'm wondering if there is another DLL that is required to go into the GAC? It's clear that the ASP can find the EDK - as I can call some functions from it - but only when I call certain other functions (through direct ASP or through my wrapper) that I hit problems.
ANY suggestions would be very much appreciated.
Thanks and Hpapy Holidays,Karen

Hi Phil and Joseph,
Thanks for your responses! Yes, Christams during summer is a bit wierd. It always sneaks up on me and I dont realize it's christmas until I go to the store and everthing is closed!!!
Joseph, to answer your questions - I can't use the GDK because I want to set Administrative preferences from a portal page. (As you know, Plumtree blocks you from setting admin preferences from a portal page).
Going direct to the database (via Plumtre server API) ALMOST works, except the settings aren't picked up until the server restarts? (I'm thinking here that the Gadget Cache isn't clearing - is there a way to force that?) However, going through the Remote API does work, except that I run into the problems described above. (The portlet does though update the settings right away)..
Yes, I have added all 4 to the project and to everywhere else I can think of (and used REGASM.exe), as well as the new EDK. (not all at the same time, and also all at the same time!). It is quite bizarre b/c I have 2 computers that it works fine with EDK 5.02 (never works with EDK 5.1) but nowhere else does it work?
(PS sorry Joseph it took me so long to reply, our email address changed and I guess my notifications have stopped!)
Phil, your suggestion is a good one, maybe you can give me a bit more detail? If I used ASP.net to route the request to the ASP files, then I would pull those admin settings that were set by the ASP file (ie GDK) out and set them via the EDK Remote Server? Do you think that would work?
Thanks so much for everything,Karen

Similar Messages

  • Using the EDK (PRC) in ASP Pages

    Hi there,
    I have an ASP Portlet that I would like to move to use the EDK. (It formerly used the GDK). As it is quite a large application, moving it to .NET is not possible at this time. Does anyone have any experience with this?
    The overall objective is to set Administrative Settings of a portlet. To do that, I want to use the RemoteSessionFactory to create an IRemoteSession which is used to call the PortletManager to open a portlet. The final goal is to get the IPortlet interface (from Plumtree.Remote.PRC) . Once I have the IPortlet Interface, I am able to get/set Administrative settings.
    (For those of you who would recommend using the Portal Server API, the problem I have then is that once I change the administrative settings, the new settings are not picked up until I restart the portal on the portal server. It appears that the Portlet stays in the globalgadgetcache and does not know that it has been updated. Please let me know if there is a way to force that update from the Remote Server)
    I've basically tried 2 options, with both resulting in the following problems.
    1. Calling the EDK directly from the ASP, using Server.CreateObject. I have 2 major problems here. The firsrt is, it appears that the object I wish to use is not creatable. (RemoteSessionFactory) I have successfully created some classes off the EDK using Server.CreateObject. For example, Server.CreateObject("com.plumtree.remote.prc.xp.XPAdminPortletSettingsPersistence") seems to work. Unforutnately, I can not figure out how to get my IRemoteSession in ASP. If anyone knows how, I would be very grateful.
    The other problem I have with using Server.CreateObject is that some of the objects I can find PROGIDs for do not create successfully. Here, I receive the error that the "DLL or some of its dependencies can not be found". This is noteable because of my strategy #2.
    2. I have created a wrapper class that IS createable using Server.CreateObject. I can then create this class and call it's functions from the ASP. This C# .NET DLL references the EDK.dll. When I call functions in my class that to not use the EDK ( Set oPISettings = Server.CreateObject("PISettings.PIRemoteAdminSettings"), Response.Write "<BR>" & oPISettings.TestClass() ) it works fine. However, as soon as I try to use the EDK to open the RemoteSessionFactory (IRemoteSession session = RemoteSessionFactory.GetExplicitLoginContext(new System.Uri(sURI), sUserName, sPassword);) then I get the same error as above "the DLL or one of its dependencies can not be found". Interestingly, I can use SOME parts of the EDK - for example all of the classes that I can create in ASP - but not that Remote Session Factory.
    With EDK 5.1 being signed, I thought my problem would be solved by putting the EDK into the Global Assembly Cache. I have put the EDK and OpenFoundation in. I have also registered them both using REGASM.exe. Neither fixed my problem. I have also installed the Microsoft Web Services Extensions (and put the dll in the GAC)
    I'm wondering if there is another DLL that is required to go into the GAC? It's clear that the ASP can find the EDK - as I can call some functions from it - but only when I call certain other functions (through direct ASP or through my wrapper) that I hit problems.
    ANY suggestions would be very much appreciated.
    Thanks and Hpapy Holidays,Karen

    Hi Phil and Joseph,
    Thanks for your responses! Yes, Christams during summer is a bit wierd. It always sneaks up on me and I dont realize it's christmas until I go to the store and everthing is closed!!!
    Joseph, to answer your questions - I can't use the GDK because I want to set Administrative preferences from a portal page. (As you know, Plumtree blocks you from setting admin preferences from a portal page).
    Going direct to the database (via Plumtre server API) ALMOST works, except the settings aren't picked up until the server restarts? (I'm thinking here that the Gadget Cache isn't clearing - is there a way to force that?) However, going through the Remote API does work, except that I run into the problems described above. (The portlet does though update the settings right away)..
    Yes, I have added all 4 to the project and to everywhere else I can think of (and used REGASM.exe), as well as the new EDK. (not all at the same time, and also all at the same time!). It is quite bizarre b/c I have 2 computers that it works fine with EDK 5.02 (never works with EDK 5.1) but nowhere else does it work?
    (PS sorry Joseph it took me so long to reply, our email address changed and I guess my notifications have stopped!)
    Phil, your suggestion is a good one, maybe you can give me a bit more detail? If I used ASP.net to route the request to the ASP files, then I would pull those admin settings that were set by the ASP file (ie GDK) out and set them via the EDK Remote Server? Do you think that would work?
    Thanks so much for everything,Karen

  • Passing two variables in the body of the URL using the go to detail page SB in ASP

    Hi all,
    Would appreciate your assistance with the following, I'm
    trying to set up a go to detail page sb that passes two variable in
    the body of the URL rather than the standard one.
    The code i've tried is -
    <td><A HREF="gggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>&amp;"PCL1ID=" +
    othermenutwo.Fields.Item("PCL2PC1ID").Value
    %><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></A></td>
    Where the PCL1ID and the PCL2ID are the variables
    The normal code generated by the go to detail page sb with
    one variable is -
    <td><a href="ggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>"><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></a></td>
    Unfortunatley my code tweaking isn't working as the second
    variable isn't being sent, any help would be gratefully appreciated
    Thanks

    Instead of using DW's 'go to detail page' option, simply set
    up the link the manual way in DW using the Link browser. Select the
    file you want to link to and then use the parameters button at the
    bottom of the 'Select File' dialogue to set the parameters to be
    passed with the link. You can then manually set the name of the
    parameter to be passed and then select its value from a recordset.
    The key thing is that you can set as many parameters as you like,
    so you can set both the parameters you want.
    On the detail page you then filter by the parameter name you
    chose (or both).
    Personally I always code links this way rather than using the
    go to detail page option as you get much better control of what is
    going on.

  • How do you select all paragraphs using the same style in Pages 5.2?

    I'm trying to find how to select all paragraphs using the same style in Pages 5.2 without any success.  I writing a book and I need to able to adjust all my paragraph styles globally.  I see how upgrade my paragraph style when I do something new, but not how to revert back to the orginal template.
    For example, in my custom template for my book I have 12 font for a review questions paragraph style.  I changed the font size for all this paragraph style to 18 font.  Now I want to change it back to size 12 font.  But I have this paragraph style at the top and bottom of my document.  How to I select all of my review questions style so I can make the font change to all at the same time? 
    I just upgrade to Pages 5.2 from Pages '09. 
    Thanks for the help,
    Rob

    The Pages User Guide might help here.
    Better to post your topic in the Pages designated community > Pages: iWork: Apple Support Communities

  • Pages app unexpectedly quit whilst I was in the middle of a document. I can now not open it AT ALL. I find it's not just that particular document that won't open, but any of my Pages docs will not open using the current version of Pages. Any help?

    Pages app unexpectedly quit whilst I was in the middle of a document. I can now not open it AT ALL. I find it's not just that particular document that won't open, but any of my Pages docs will not open using the current version of Pages. The reports of the app unexpectedly closing each time, automatically went to Apple, but I am not sure what happens with them then. Does anyone know how to help me with this? We live in a very isolated region so rely on internet help. Thanks

    I also managed to read a few other discussions about Pages and files not being able to open. I actually went to the last back-up and restored the computer from that and everything seemed to work ok again, which is great!...advice from another discussion I think you may have been involved in PeterB. Thanks for the advice...also this advice, as I will make a note of trying to open using the Shift key if it happens again and see what happens...might be an easier first option than restoring from a back-up. Thans heaps for the help!
    I was interested to read some of the other discussions where it was stated that Pages '09 seems to be a better option to use. I have both installed, so I will lkeep this in mind. Thanks heaps!

  • Developing a 2 page form, username on the 1st page, password on 2nd how can i force FF to use the username from previous page when it asks to remember acct info?

    I am developing a 2 page signup form, where the person enters their username on the 1st page and password on the 2nd.
    When I test the form, FF asks to remember my password for the site - however it thinks the zipcode (field above the password) is the username on the account.
    I have tried to put their username/email in a hidden field on the 2nd page, just above the password field - and that did not work.
    How can i force FF to use the username from previous page when it asks to remember acct info?

    This website is using autocomplete=off to prevent Firefox from saving and filling the name and password.
    You can remove autocomplete=off with a bookmarklet to make Firefox save names and passwords and other form data.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • I am using the trial version of pages. how do i transfer the letter heading i have created to Word as a template? comes out fuzzy in Word when i try.

    i am using the trial version of pages. how do i transfer the letter heading i have created to Word as a template? comes out fuzzy in Word when i try.

    IP = Intellectual Property.
    You want to take the artwork from Pages, which you haven't paid for, into a competing product?
    Peter

  • HT4641 Hello there i am using the latest version of pages but when I imported a word do.ument with some figures ( mainly pictures, X-rays,  CT scans, and ECG ) I could not find them they all vanishes although the text was perfectly displayed . Can anybody

    Hello there i am using the latest version of pages on ipad3 but when I imported a word doument with some figures ( mainly pictures, X-rays,  CT scans, and ECG ) I could not find them they all vanishes although the text was perfectly displayed . Can anyone help.
    Thanks

    Thank you very much!
    I cant believe this little comment has been so helpful!
    But yes it is:
    I explain, despite my efforts to find, googled it, forums, faqs, etc...
    no where it mentionned the manifest.fm file is... INSIDE the .jar!
    Your comment "a zip" made me attempt to open it with winrar, and I found a manifest.fm file inside!
    So far I was editing the one at the "source" of my project and rebuilding it with netbeans.
    I am going to try that now.
    Actually.... :( no its mentionning my main class!
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.0
    Created-By: 10.0-b19 (Sun Microsystems Inc.)
    Main-class: courseworkjava3d.Simple3D
    Class-Path:
    X-COMMENT: Main-Class will be added automatically by buildWell I have no problems uploading you the .jar, it is for a coursework it is not a private project or whatever:
    http://www.uploading.com/files/CM2LKWYU/BetaCourseworkJava3d_Final.jar.html
    Oh and I felt on your comment "dont ask us" as if I was suppose to know... i'm a beginner, I did not know that! And I tried to give you so many infos so you dont lose your time if you want to help, especially as after my own research I found many, many results for this "main class" and I tried a few solutions!
    Edited by: CupofTea on Apr 13, 2008 3:28 AM

  • How do I use the french version of pages?

    I bought pages from the app store.  I was downloaded in english.  how do i use the french version?

    Apologizes to English users but it seems that the question was posted from France.
    Bonjour
    Pages s'adapte automatiquement à la langue qui se trouve en première position dans la liste disponible dans la Préférence Système "Langue et texte"
    Avec la configuration ci-dessus, Pages fonctionne en Français.
    Je vous remercie car votre question m'a permis de remarquer que j'ai oublié de supprimer quelques langues installées dans le seul but de répondre à une question posée récemment dans un forum.
    Yvan KOENIG (VALLAURIS, France) samedi 5 novembre 2011 17:39:15
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How to use the design tools in pages 5.2 on Macbook Pro

    How do you use the alignment tools for placing and inserting images in pages 5.2?

    Hi Ivy Janelle,
    Thanks for visiting Apple Support Communities.
    In Pages 5, you can insert images using the Media browser at the top of the document window. Once you insert them, you can edit and arrange images using the Format inspector--the paintbrush icon in the top right. You can find detailed information about inserting and using images at these links:
    Pages for Mac 5.0: Add and edit images
    http://support.apple.com/kb/PH15345
    Pages for Mac 5.0: Align and position objects
    http://support.apple.com/kb/PH15351
    Best Regards,
    Jeremy

  • Use the new functionality "multiple page size" in an indesign book

    I've creating an indesign book, in wich one chapter has a different (bigger /A3) page size. Indesign creates the book in pdf using the bigger page size, and do not use the real page size of every chapters. Why?
    Thanks for help !

    You might get better results in the ID forum just a few doors down.
    InDesign

  • How to use the Observer when a page loads

    Anybody know how to use the
    Spry.Utils.addClassName('DivName','selected') and then fire the
    Spry.Utils.addClassName with onLoad?
    I am loading a page with the selector utils in it into a div
    and then I think I must need an Observer to get the
    Spry.Utils.addClassName to work when this page loads in a div.
    Any help would be greatly appreciated.
    Thank you,
    Bisser.

    I added Spry.Utils.addClassName('DivName','selected') in the
    Script after the constructor and after the effects and it works
    fine. Thank you for your help to get me going.
    Well after the fact, this solution was a problem because it
    loads the selector each time I loaded the file.
    kinblas had the correct answer that I was looking for.... as
    it loads the selector as a 3rd argument.
    ie:
    Spry.Utils.updateContent('mainDIV','/menu.php', function() {
    Spry.Utils.addClassName('DivName','selected'); });
    Thanks to both of you for your continued support.
    Bisser.

  • I think my mac is infected with a virus, every time I use the internet pop up pages appear constantly what should I do?

    I think I may have accidentally opened an email attachment which was fake.  Ever since I did this my mac constantly opens pop up pages with ads every time I click the mouse.  I have checked in preferences and it says pop up pages are blocked but still they keep appearing.  How do I stop this?

    You may have installed the "VSearch" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data before proceeding.
    Step 1
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot," "Trovi," or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Reset the home page and default search engine in all the browsers, if it was changed.
    Step 2
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "com.vsearch.agent.plist" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine article from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the Internet criminal behind VSearch has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Can the Google search box in Safari be made to use the UK Google search page?

    I've only just realised, (after nearly eight months of Mac ownership!), that my Google search results seem to be rather US-oriented.
    I think this is because the search box in Safari, which I do have set to Google as my default, is using the US Google.com search engine instead of the Google.co.uk one.
    Am I correct in thinking this? And, if I am, is there any way of tweeking Safari to use the UK version please?
    I'm using Safari 5.0.5

    If you want to fix your Google search to a specific Google location, I recommend that you download and install the free plug-in Glims:
    http://www.machangout.com/
    which not only does that but much more equally useful stuff! Such as enabling Safari to run full-screen, and more.)
    (It adds items to Safari Preferences).
    Not only does it already list a number of search engines and regions, but you can also add any other search engine not already listed in Glims by using the method described here:
    http://www.machangout.com/tutorials/addsearchengine
    Just enter the name you give the search engine in the name field, and the URL for it in the Query URL field.

  • ICloud using the wrong account in Pages

    I am one the gazillion people with two appleids. One for itunes, the other for everything else.
    Pages on my iPad will not work with the correct appleid at all.
    Enabling "Documents and Data" in iCloud stop the icloud setting in pages from staying on.
    If I disable documents and data, then the Pages icloud setting works and it starts syncing, but it seems to sync to the itunes appleid.
    icloud pages sync to OSX and to my iphone is working fine. But the iphone only has one email account.
    So much for just working.....

    First, you must have a printer that permits borderless printing. If you do, go to Print Setup and select Borderless Printing. Now in your document select Show Layout from the View menu if it is not already set. You will notice that the grey margins that were there before are now beyond the page area. These are margins that indicate the non-printable areas of the selected printer.
    You may now position your pictures as desired. When you go to print, navigate (in the Print dialog window) to the drop down menu that will be titled something like Expansion. Here you can set the amount of enlargement that is necessary for the image to bleed off the edges of the paper.
    If your printer will not print borderless, position your pictures within the allowable printing area and trim the completed print. (Or buy a new printer.)
    Hope this helps.
    Walt

Maybe you are looking for

  • CC for Photographers, what to do with CS6

    Hi all, I was a user of Photoshop CS6 but decided to subscribe to the CC for Photographers offer last year.  The offer required ownership of a previous CS package so I was fine.  However, now I'm using Photoshop CC and Lightroom I have no use for CS6

  • Issues in locating customised signin.html after upgrade to Portal9.0

    We are currently running Portal 8.9 /8.47.13. We have customised signin.html in the web profile listed under the Signout Property in Web Profile. After upgrading to Portal 9.0 - PeopleTools 8.49.17, we are receiving this error. An error has occurred.

  • Page personalization and database table question

    Using E-business Suite, when personalizing a page, where can you find what table the information is pulling from in the database? Thank you for your help, it is appreciated.

  • How can I send a  filled pdf as attach  to email

    I am using windows 7 Acrobat 9 extended. I have created a fillable pdf form. reader enabled.When info is put in to form and the "attach to email: the recieved file is blank .... no info. is there something I forgot to do? I would like to save with no

  • Infopackage disabled with Backgroung job run

    Hello experts I had problem in executing the infopackage in back ground mode also for the previous load of the saem infopackage when iam checking the Process overview of the request it is showing Errors occured. Is there any way to repair the the inf