Posted: 15 Oct 2016 11:19 EDT Last activity: 1 Nov 2016 1:56 EDT
using mashup code (IAC)
I am able to generate and copy the mashup code. I looked into PDN resources but could not really tell me how the html mashup code can be embedded to a website? Is there anything other than pasting the code? I copied and pasted the mashup code into the website and clicked the link but it says, ...issue, contact system administrator. I copied it into the text file and changed the extention of text file to .html. When I click the html file, the case opens up. Would you please provide me some options to to make sure I do it right way?
option#1 : From Case Designer - Integration -> Generate Mashup code: If you have used this approach, it gives back script tag and div. You need to copy the script tag and div in your web application page (JSP/ASP/PHP etc). So when your page webloaded, this div will be loaded with content from Pega Application. Here you have bunch of options like loading the pega content(case, harness etc) on demnand or on certain conditions. Here is the link which explains about each an every features of Mashup(formely it is called IAC).
Option#2: If you have using gateway to generate the Mashup/IAC code, it will give a button to download zip file which contains a sample html and pegacompositegadgetmanger.js (andxxx.log). You need to copy script file into a location, where it should be accessible by webpage which you used to include div tag from the sample geneated HTML.
based on your requirememnt, you need to decide whether you want to gateway or not.
For your error, you might not configured gadget properties correctly like classname, flow name, credentails etc. please cross check that. Or, let me know if i'm missing anything.
Typically IAC/Mashup is used to display pega content(UI) in non pega applications developed using other technologies like java/.Net/php etc. So, you need to know in which web application you would like to display pega content. After that, you might n number of JSP/ASP/PHP/Any pages in your application. So it is upto business requirement in which screen you need to display Pega Content (generated using Mashup/IAC). Once you have identified.
#2 above is required if would like to change the Pega URL.
My suggestion would be identify business use case and integrate accordingly.
Thanks Reddr3. I have an intranet site where I want to embed it. I wanted to know the use case for 'to change Pega URL'? when and why someone would require or like to change the Pega URL in place of the one provided in the mashup code generation. Why some one would not use the default URL? What are the pros and cons of using the same URL?
Typically it may not be frequent in the real time production systems. If your pega server URL changed anytime, then you would need to update it. Even then, you need not to come to Case Designer to make this change, you can straight away change in the already genrated code.