on 08-03-2015 5:32 PM
Hello everyone,
So I've been trying to experiment with embedded components and mashups on ByDesign, and tried to follow this guide:
However, I've run into a problem when putting the EC on the Account screen. I've got the map to display (amusingly, copying the code from the guide didn't actually work; I got mine to display using an example from the Google developers website), but at the moment it will only work if I hard code in the latitude and longitude. If I pass the parameters into it, the map fails to initialise, instead just display a white box. I'll post pictures of what I've done corresponding to each step of the guide, and hopefully someone can help.
A1) Identify outport: I figure this is the best one on the Account screen.
2) create custom BO and script
3) create data structure and other fields, bind root-level fields, do other stuff from this step.
EC binding:
B1) Define PTP
2) Define Port Binding (PB)
3) EC Outport
4) HTML Mashup --- HTML I used is attached in a .txt file.
5) I stuck the mashup on the EC, then did the binding as follows:
Outport has the two referenced anchors:
I think this is pretty much it...anyone able to tell me what I'm doing wrong? Thanks.
Lewis
Looking at the properties of the outport PublicOutportECCustomerRoot on the Account (org) OIF screen, Broadcast is set to False. Looking back at some SAP-led SDK training I did a while back, we set an outport on a custom OWL to have Broadcast = True, and the inport of our QA etc. then received data. Is it this lack of broadcast which is stopping this working? If so, I'll need to message SAP about it...thoughts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you to Mohd and Dedeepya. So, to summarise --- make sure the EC inport has RequestFireOnInitialisation set to True. Regarding the HTML mashup...use a user with all work centres assigned, that seemed to do the trick. Despite SAP saying that your SDK user should only have the two PDI work centres...makes perfect sense!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So now what happens is, when I'm trying to drag the HTML mashup to an empty PaneContainer on the EC, the UI designer crashes. What's happening here? I've had this problem before, usually it'd crash but occasionally I managed to get it to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lewis,
Its seems that your Developer(PDI) user don't have enough access rights to perform this may be you are missing required work center or view.
I also have faced the same issue i was getting exception when drag the HTML mashup to the EC.
Solved by adding some views and work center to my PDI user don't know exactly which one.
Try to add all the views under the administrator work center to your Dev(PDI) user and try once again.
Thanks,
Siraj.
I think my action fillLatitudeAndLongitude isn't getting called --- my EC, this time round, has the fields AccountID, AccountUUID, Latitude and Longitude in it. When I go to the Account > General tab, these fields are empty --- which indicates to me that something about the LaunchEC event handler isn't working properly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.