SWF not updating
In Flash Builder 4.7 beta 2 Mac version. When I debug a mobile air application a new swf is not created and placed within bin-debug folder. If the swf is deleted in the bin-debug folder then the following error occurs.
Process terminated without establishing connection to debugger.
initial content not found
Launch command details: "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.348297/AIRSDK/bin/adl" -runtime "/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.348297/AIRSDK/runtimes/air/mac" -profile mobileDevice -screensize 320x460:320x480 -XscreenDPI 163 -XversionPlatform IOS "/Users/me/Documents/Adobe Flash Builder 4.7/BeanMachine/bin-debug/BeanMachine-app.xml" "/Users/me/Documents/Adobe Flash Builder 4.7/BeanMachine/bin-debug"
Is there a way to fix this so it generates a new swf file? I can no longer use Flash Builder as my code changes are not picked up and packaged into a new swf.
I'm having this same problem, and it's been driving me crazy for days. The only way I've been able to fix it is to delete the project from Flash Builder, then create a new one.
Similar Messages
-
XML MAPPING - swf not updating
When I make a change to the xml file it is not picking up the change in my published swf file. When I open the project in CX and refresh the mapping updates.
So it is connected but when I click on "refresh" on the sxf it is not updating.
I have xml maps, added in the data connection manager, with a refresh button tied to the xml connection. I also have the refresh on load checked in the connection manager.
Need help.
Thanks
MarkShamim my scenario was that I wanted the SWF on a network so that a call center employee could access the file from a mapped drive, open the file direct on her/his client machine. My problem was that I developed the file on the server machine and mapped the data connection path to the XML initially from the server, not the scenario of a client machine's path looking for the file. (not sure if cache is the right term)
Initial Path from server development.. D:\Datafiles\data.xml
The client machine(s) network path, mapped drive was Z: for example. In the excelsius model you need to bind the data path to the excel model and hardcode the Path that the client machines will go thru to access the data. This solved my issue perfectly. Z or name of the mapped drive mapped to the server.
Z:\Datafiles\data.xml
So now if your on the server machine and try to open the file from the swf you will incur the error message that correlates to the swf not being able to find the data. From the clients works fine but not from the server machine as the path has to be exact for the swf to find the data file.
Hope this helps.
I have a question for trying to deploy this same example on th server embedded into a swf movie player to the web. Might have been my path issue, cross domain policy file... But I could not get it to be deployed in a website, live. If you are familiar with this please explain to me.
Regards,
Mark -
SWF not updating when scrubbing timeline
I have linked and embedded SWF files in my Director project.
They play and publish just fine. My problem is that when I scrub
the timeline I would like to see the SWF frames. Is there a setting
where I can scrub through the SWF and see it update?
Thanks in advance for any help!-
|rossimo|If you mean that you have your .swf extended along the
Director score, then no. The Flash .swf plays through Director
using the Flash Xtra. That xtra is not running while you are moving
the playback head in the score. -
SWF linked by reference in FM does not update in RH when FM files are updated
Hi all, using TCS2 on WindowsXP.
I have a FM book with a Captivate SWF linked by reference. When I link my FM book into RH, all works nicely. But here's the catch - when I change something in my Cativate project and re-publish the swf (to update the old swf), although the FM SWF updates to the new one, RH does not. The SWF found in RH is the one from the original instance of linking the FM book. This is an issue as it seems to be hampering my 'single sourcing' world.
Any thoughts?
Thanks,
AdrianaHI there
Are you able to just delete the SWF from RoboHelp? I'm thinking that if you could do that, the SWF would simply have to update from FM as it wouldn't be found any longer.
I do realize it's a kludge and things should simply just *WORK*, but we do live in an imperfect world.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
I've created a 'plugin' SWF file in CS3 using actionscript 3.
The purpose of this file is to be included as a postroll in the
open source flash media player JW FLV/Media Player (
http://www.jeroenwijering.com/?item=JW_Media_Player).
I have heavily customized the media player libraries to do
various new things/alter how things worked, and now want to be able
to include the SWF file within this into a child sprite/movie clip.
HOWEVER, the problem lies in that the media player is written
completely in AS2, and therefore I have to use the MovieClipLoader
class to load in the SWF. Updating the source to AS3 isn't an
option unfortunatly, and downgrading the AS3 SWF to AS2 isn't an
option either, mainly due to the fact I've learnt AS3, not AS2, and
find it frustrating trying to find the AS2 equivalent to the AS3
methods I know.
The problem though lies in that MovieClipLoader does not like
my SWF at all. Initially I was presented with a load of sandbox
errors from when it was loaded in, which I then resolved so that no
security errors are produced. However, whenever I load in the clip,
the target sprite/clip is empty. I have gone through checking that
no errors occur on load, and it reports that the loaded SWF has
been initialized, yet I see nothing. Also, the code loading the SWF
is not at fault as it loads any other SWF (even another AS3 SWF
which just creates a rectangle) no problem.
Oddly enough, using the MovieClip.loadMovie method works in
one situation - when you load it into the root of the AS2 file.
When loading it into an empty movie clip, the same problem of a
blank clip occurs. The problem is not specific to the media player
either, as it happened in any AS2 file where I was testing how to
load in the AS3 SWF.
If it is of any use, the sandbox errors produced by the AS3
file when loaded into AS2 swf I had to resolve where to do with
stage access for getting the stage height and width, and a
Loader.content error when pulling out the BitmapData. These were
resolved via setting the allowed domains policy and eliminating any
reference to stage.stageHeight/With.
Does anyone have any ideas on how to solve this? The only
possible solution I've been able to think of so far since the AS3
swf won't display is to play with the LocalConnection class as
tests showed I can communicate between the AS2 and AS3 files, but
this would have to be a last resort, and is less than ideal when
there can be multiple instances of the player running (I would need
to use unique connection names for each instance so as to prevent
player A interacting with player B, and also as only one of the
players can listen on the connection at once).I have the component in the top level also,
I get this error:
TypeError: Error #2007: Parameter child must be non-null.
at flash.display::DisplayObjectContainer/addChildAt()
at fl.controls::BaseButton/drawBackground()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\BaseButton.as:615]
at fl.controls::LabelButton/draw()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\LabelButton.as:724]
at fl.core::UIComponent/drawNow()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\core\UIComponent.as:1343]
at fl.controls::List/drawList()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\List.as:594]
at fl.controls::List/draw()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\controls\List.as:474]
at .tree::TreeList/draw()
at fl.core::UIComponent/callLaterDispatcher()[C:\Program Files (x86)\Adobe\Adobe Flash CS5\Common\Configuration\Component Source\ActionScript 3.0\User Interface\fl\core\UIComponent.as:1532]
I've checked the definitions for the tree component,
The LabelButton and List I don't have much control over.
I'm not sure how to fix this. The xml is correct and loads easily if it's in the root document.
The list component doesn't load the labels, It stops on the first one.
What do I do next? -
Hey all,
I've finally reached my wit's-end trying to figure out how
to solve what is seemingly such a inane problem. I'm working on a
University Website for their Recreation Dept. On the main index
page I've developed a Flash slide-show that automatically plays and
loops a series of photos of different activities. It's basically a
SWF file that calls to an XML listing of the picture locations,
speed, transition time, etc. It has worked great. However, I
recently tried to put a few more pictures into the series, taking
the total from five to nine. This update works PERFECTLY on my work
machine -- using Dreamweaver, when I preview the page, I see my new
slide-show, and all the new pictures. However, after uploading all
my pertinent files to the host server, my index page continues to
play the OLD Flash slide-show, and not my updated one. I've
uploaded the new swf file, the new xml file, the new index.html,
even the AC_RunActiveContent.js script. Everything has been
overwritten, several times, and the index page on my server will
not update to the new content. Any ideas or clues to get around
this? I know it's not exactly easy to understand, but hopefully
somebody has run into this same problem. Thanks in advance,
MikeSounds like a file cache problem.
What I usually do is put version numbers on the swf files so
that when you update it the old file doesn't show up again. There
are many techniques that people use, none of them seem to work 100%
of the time when the new file has the same name as the old file.
What you can try is:
1. Change the swf file name andupdate the name in your html
file
2. Remove the swf file from the server, open your html page,
hit refresh (it should hang because the swf file isn't there), then
publish the new swf and hit refresh again.
There are also techniques with meta tags.
Other method discussed here:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=194&threadid=1125939 -
Why is my playlist not updating as i type in the search window anymore?
why is my playlist not updating to reflect what i type on the search window anymore? just searches in the same window as you type i want it to reflect and show location on my plylist instead as it did before.
I have code within the FLA, but I am also using .as files (with classes and such). The code does not update when I try to use it, or will not run. Currently I am getting 4 errors, all of which were related to syntax and have been fixed. I know this because I hit the check mark button at the top of code field and it confirmed that all syntax is okay. I believe the error may be due to a lack of understanding on my part regarding the source path and document classes.
For example: I am using the code found here: http://www.learningactionscript3.com/download/45/ in the particle_system folder. My .as files and SWF are set up exactly the same as theirs, the example, but I can run theirs without error and mine with a perpetual 4 errors at runtime no matter how I fix it. I have made sure that the source path leads to the .as files being used ("Particle" and "ParticleDemo"), and confirmed that it should work by hitting the check mark next to the Document Class under Advanced ActionScript 3.0 Settings.
Edit: So in short, yes, I run the SWF and my code not update. If I close out of Flash and open it up again with the same SWF and .as files, then it works. However, this is an extremely inefficient thing to do. I am thinking that maybe downgrading down to CS5 may do the trick, but not sure if it's worth the time. -
iPod 4,1 will not update to iOS 7. I updated my iMac to 10.9.1 (maverick). Latest Numbers version on iMac is not compatible with Numbers on iPod. Ideas? Can I go back a version with Numbers? I downloaded old version of Numbers 2.0.1 from DVD but with both versions the 2.0.1 will not open. So both versions are present but only the new version functions. I tried to drag the new version to the trash but the old version still runs error message and will not open. I did not try to restart with the new version in the trash.
Maybe. See:
Reverting to previous version of Numbers -
IPod will not update in iTunes with Windows Vista
Every time I connect my ipod to my computer, my computer locks up and it does not update. The only way I can even connect my ipod is to use manual update.
iTunes does not yet support Windows Vista. There are numerous problems running iTunes on it. The latest release of iTuens 7.1 fixed some of them but not all.
-
Previews in Adobe Bridge in Essentials View do not update after manipulation in Adobe Camera Raw
When I open a RAW file in Bridge and manipulate it in ACR, the preview is not updated in Bridge Essentials View. The only way I can get it to update the preview is to open the file in "Preview" view, then it updates and looks fine in Essentials view.
Is Bridge set up to store the ACR modifications to those XMP files? Only then it can update the preview right after working on it. Else you need to refresh the preview cache.
-
Can not update request in data target
Hi,
We have a process chain for master data (10 parallel) loads. One of the load
failed with error "can not update request REQU_46xxxxxxxxxxxxxx in data target".
When I checked the InfoPackage
(a) update: full load
(b) it has data selection
(c) processing :PSA and then to data targets
(d) Data targets: update in all data targets for which active rules exist.
But I do not see any list of data targets here.
Can some one please suggest me how do I correct this load failure.
ThanksHi Wondewossen, NS and Nagesh,
Thanks for the information. I am in support, and the developer is
not here now.
I have checked Header tab in the monitor, in this there
is a update symbol and infosource name and an -->
but after arrow there is nothing.
when I click on this I get a message
"No active update rules exist".
Can you please advice me how to I correct this.
Thanks -
I export part of my master catalog to a laptop. I include the image files so I can edit the files at full res. After managing and editing files I import the catalog back into the master catalog. When importing I check to replace metadata, develop settings and negative files. I have been running some tests to be sure all my work is being captured in the master catalog by this process. I find that if I change develop settings or photo ratings this is detected when the file is imported and the data in the master catalog is updated properly. The surprise is that if I delete files or move files among folders in the exported catalog these changes are not detected and these changes are not updated inthe master catalog. It seems bizarre to me that such changes are not detected but I do not see how to get LR to recognize these changes and include them in the catalog update. Without this capability I don't see how to use catalogs to move part of a catalog to another computer for edits and file management and then move back to the master catalog.
There are various reasons why Lightroom works this way, but you'll need use pick flags to indicate photos to be deleted, and other metadata like colours or collections.
-
Can not update tab if its not the default sub-tab.
Can not update tab if its not the default sub-tab.
JDeveloper Version 10.1.2.1.0 (Build 1913)
Hi. I have a problem with a lovOpenWindowAction
The UIX is created with a master UIX and have several sub-tab that is included as UIX-pages.
The lovOpenWindowAction lies in the included UIX-page
The sub-tab I have a problem with has a table with users. Then I have a Create New button than I want to click on and select a new user that should be included in the table in the sub-tab.
When I click on the button I open a LOV-window. Here I select the user that I want to add.
In the LOV Action-class I save my new value in the database. Then in the method onLovUpdate I update the iterator with the new values from the database.
But in my GUI the subtab is not updated until I click on it.
But if I make the subtab the default subtab then it all works just fine and the GUI is updated directly.
Here is the code for the tableAction in the subtab. This code lies in an included UIX-page. Target is the table id.
<tableActions>
<button text="Create New" id=" createNewRollperson" accessKey="N">
<primaryClientAction>
<lovOpenWindowAction destination="FiskeRollpersonerLOV.do"
source=" createNewRollperson "
targets="joinedRollpersfiskeer message"/>
</primaryClientAction>
</button>
</tableActions>
Here is some code from the master UIX-page
<subTabLayout id="flikar">
<subTabs>
<subTabBar selectedIndex="${ui:defaulting(param.index,0)}">
<contents>
<link id="resorFlik" text="Resor"
disabled="${sessionScope.fiske.id == null}"
selected="${(param.source == 'resorFlik') or empty param.source}">
<primaryClientAction>
<firePartialAction event="changeTab" targets="flikar globalHeader">
<parameters>
<parameter key="source" value="resorFlik"/>
</parameters>
</firePartialAction>
</primaryClientAction>
</link>
<link id="rollpersonerFlik" text="Rollpersoner"
disabled="${sessionScope.fiske.id == null}"
selected="${param.source == 'rollpersonerFlik'}">
<primaryClientAction>
<firePartialAction event="changeTab" targets="flikar globalHeader">
<parameters>
<parameter key="source" value="rollpersonerFlik"/>
</parameters>
</firePartialAction>
</primaryClientAction>
</link>
</contents>
</subTabBar>
</subTabs>
<contents>
<switcher childName="${param.source}"
defaultCase=ResorFlik">
<case name="resorFlik">
<include node="${ctrl:parsePage(uix, 'includes/ResorFlik')}"/>
</case>
<case name="rollpersonerFlik">
<include node="${ctrl:parsePage(uix, 'includes/FiskeRollpersonerFlik')}"/>
</case>
</switcher>
</contents>
</subTabLayout>
What am I missing?? I cant have this subtab as the default subtab! Please help me with a solution!hi,
Change the condition type to manual entry.
or
for example delivery costs will be different at the time of PO and actual delivery costs then at the time of invoice we select planned delivery costs and settle them first with the actual delivery cost.
Thanks & Regards,
Kiran -
i have modify the data STREET to "ANG MO KIO"
http://i192.photobucket.com/albums/z231/yzme/d1.gif
but the data in server still "HEAVEN ST"
http://i192.photobucket.com/albums/z231/yzme/d2.gif
I am using Time2Way T01, if it is when i sync the data will be uploaded, or do i need to configure somewhere to get the data upload ?
if the data in client and middleware is different, when i sync , the data from the middleware will again download to the client replace the modified values
OR
the data in the client will uploaded to the middleware and trigger the MODIFY bapi wrappers ?
<b>
when i check my MEREP_MON, and MEREP_LOG there is no data inside this meaning after i changed the values and perform the sync, Inbox and Outbox still remain the previous data as well as inside the MEREP_LOG,
is it the bapi wrapper not call by the client ?
</b>
and i find out that my bapi not get called, what additional code should i add instead of the code below.
DO I NEED TO IMPLEMENT SOME CODE FOR UPLOADER ??
do i have to change the reqDirectSync="true", if yes, how do i changed, just change inside the editor, or there is somewhere to configure in sapgui
after i changed the data , i try to sync, and i check on merep_mon
what specific or additional steps i need to configure, on uploader / receiver or synchronizer
<b>i do not implement any syncBoDelta or global reset ?</b>Can someone explain the term "delta" to me and its activities?
if i have upload something, and sync, the Inbox should have something right ??
i just put add this code to modify my records
public String modifyRecord(String eventName,boolean didNavigate){
String syncBoName="ZCON";
String syncKey="0001230297";
tableViewBean.setString(syncBoName +" "+syncKey);
System.out.println("SyncBoName: " +syncBoName + " syncKey: " +syncKey);
tcp = TableContentProvider.instance(syncBoName);
tcp.modifyTable(syncBoName,syncKey); return JSP_DETAIL_SYNCBOINSTANCE;
public void modifyRecord(String syncBoName,String syncKey){
SyncBoDescriptor sbd=null;
sbd=descriptorFacade.getSyncBoDescriptor(syncBoName);
SyncBo sb=null;
try{
System.out.println("bp 2");
sb=dataFacade.getSyncBo(sbd,syncKey);
}catch(PersistenceException pex){
System.out.println("Exception in modifyRecordLoc:" +pex.getMessage());
SmartSyncTransactionManager transactionManager;
try{ transactionManager=dataFacade.getSmartSyncTransactionManager();
if(!transactionManager.isTransactionStarted()){
transactionManager.beginTransaction();
boolean b8=false;
b8=setHeaderFieldValue2(sb,"STREET","ANG MO KIO");
transactionManager.commit();
SetSendType();
listAllOutDelta();
checkInboxConflict();
}catch(Exception e){
System.out.println("Exception in modifyRecordAmt2:" +e.getMessage());
public void checkInboxConflict(){
ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
MeIterator iter;
SyncBoResponse resp;
try {
iter= errorConflictInbox.getAllSyncBoResponses();
while(iter.hasNext()){
resp= (SyncBoResponse)iter.next();
String bo=resp.getSyncBoDescriptor().getSyncBoName();//SyncBo Name
String state=resp.getSyncBoResponseState().toString();
String res=resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
String msg=resp.getText();// This will return the exact message from the server
System.out.println("bo:" +bo +" state: " +state +" res: " +res +" msg:" +msg);
System.out.println("state:" +resp.getSyncBoResponseState().toString());
if(resp.getSyncBoResponseState().equals(SyncBoResponseState.INITIAL)){
String a=resp.getSyncBoResponseState().toString();
resp.acceptClientSyncBo();
String b=resp.getSyncBoResponseState().toString();
resp.delete();
System.out.println("state1: " +a +"state2: " +b);
boolean syncStatusComplete= SmartSyncRuntime.getInstance().getInboxNotifier().isSyncStatusComplete();
System.out.println("syncStatus:" +syncStatusComplete);
}catch (Exception e) {
e.printStackTrace();
public void listAllOutDelta(){
SyncBoOutDeltaFacade deltFac=SmartSyncRuntime.getInstance().getSyncBoOutDeltaFacade();
MeIterator allDelta;
try {
allDelta = deltFac.getAllDelta();
while(allDelta.hasNext()){
SyncBoOutDelta outDelta=(SyncBoOutDelta)allDelta.next();
System.out.println("SyncKey:" +outDelta.getSyncKey() +" Action:" +outDelta.getAction()
+" State:" +outDelta.getStateId() +" SendType:"+outDelta.getSendType());
} catch (SmartSyncException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (PersistenceException e) {
// TODO Auto-generated catch block
e.printStackTrace();
public void SetSendType(){
SmartSyncRuntime ssRuntime = SmartSyncRuntime.getInstance();
SyncBoOutDeltaFacade boDeltaFacade = ssRuntime.getSyncBoOutDeltaFacade();
SyncBoDescriptorFacade descF = ssRuntime.getSyncBoDescriptorFacade();
SyncBoDescriptor myBO = descF.getSyncBoDescriptor("ZCON");
boDeltaFacade.setSendType(myBO, SyncBoOutDeltaSendType.SEND_DIRECT);
//SyncManager.getInstance().synchronizeWithBackend(VisibilityType.USER_SHARED);
public boolean setHeaderFieldValue2(
SyncBo sb,
String headerFieldName,
Object value) {
SyncBoDescriptor sbd = sb.getSyncBoDescriptor();
//RowDescriptor trd = sbd.getTopRowDescriptor();
System.out.println("bp 10");
RowDescriptor trd=sbd.getRowDescriptor("010");
System.out.println("bp 11");
FieldDescriptor fd = trd.getFieldDescriptor(headerFieldName);
System.out.println("fd:" +fd.getFieldName());
if (fd != null) {
BasisFieldType bft = fd.getFieldType();
//Row header = sb.getTopRow();
System.out.println("bp 12");
//Row header = null;
Row[] header=null;
//try {
//header = sb.getRow("0001211181");
//header=sb.getTopRow();
header=getItemInstances(sb,"010");
if(header==null){
System.out.println("is null");
}else{
System.out.println("not null");
//} catch (PersistenceException e1) {
// TODO Auto-generated catch block
// System.out.println("Exception getRow:" +e1.getMessage());
// e1.printStackTrace();
System.out.println("bp 13");
try {
// Integer operator
if (bft == BasisFieldType.N) {
System.out.println("Numeric");
NumericField nf = header[0].getNumericField(fd);
if (nf != null) {
BigInteger ii = new BigInteger(value.toString());
nf.setValue(ii);
return true;
} else {
return false;
// Character operator
if (bft == BasisFieldType.C) {
System.out.println("Character");
CharacterField cf = header[0].getCharacterField(fd);
if (cf != null) {
cf.setValue(value.toString());
return true;
} else {
return false;
// Decimal operator
if (bft == BasisFieldType.P) {
System.out.println("Decimal");
DecimalField df = header[0].getDecimalField(fd);
System.out.println("bp 1.1");
if (df != null) {
System.out.println("bp 1.2");
BigDecimal bd = new BigDecimal(value.toString());
System.out.println("bp 1.3");
df.setValue(bd);
System.out.println("bp 1.4");
return true;
} else {
System.out.println("bp 1.5");
return false;
// Similar operation for time and date operator fields
if (bft == BasisFieldType.D) {
System.out.println("Date");
DateField df = header[0].getDateField(fd);
if (df != null) {
if (value.toString().equals("0")) {
Date dat = Date.valueOf("0000-00-00");
df.setValue(dat);
} else if (!value.toString().equals("")) {
Date dat = Date.valueOf(value.toString());
df.setValue(dat);
} else {
Calendar cal = Calendar.getInstance();
java.sql.Date bd =
new java.sql.Date(cal.getTime().getTime());
df.setValue(bd);
return true;
} else {
return false;
// Similar operation for time and date operator fields
} catch (SmartSyncException ex) {
System.out.println(ex.getMessage());
} catch (PersistenceException e) {
System.out.println(e.getMessage());
return false;
SyncType: T01 Wrapper: GetList,GetDetail,Modify
<?xml version="1.0" encoding="utf-8" ?>
- <MeRepApplication schemaVersion="1.1" id="ZCON" version="01">
<Property name="CLIENT.BUILDNUMBER" />
<Property name="C_APPLRESOLVE" />
<Property name="DATA_VISIBLE_SHARED">X</Property>
<Property name="E_APPLRESOLVE" />
<Property name="FACADE_C_CLIENT">X</Property>
<Property name="FACADE_E_CLIENT">X</Property>
<Property name="HOMEPAGE.INVISIBLE" />
<Property name="INITVALUE" />
<Property name="RUNTIME">JSP</Property>
<Property name="TYPE">APPLICATION</Property>
- <SyncBO id="ZCON" version="1" type="timedTwoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync="false" downloadOrder="1">
- <TopStructure name="TOP">
- <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
- <Field name="PERSNUMBER" type="N" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <ChildStructure name="010">
- <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
<Input type="create">false</Input>
<Input type="modify">false</Input>
</Field>
- <Field name="PERSNUMBER" type="N" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <Field name="CITY1" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <Field name="CITY2" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <Field name="STREET" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <Field name="HOUSE_NUM" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
- <Field name="REGION" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
<Input type="create">false</Input>
</Field>
</ChildStructure>
</TopStructure>
</SyncBO>
</MeRepApplication>
Message was edited by:
yzme yzme<u>my intention is very simple, i just need to update a field in a row and update to the middleware so that the backend will reflect the changes. </u>
>2 if i set the conflict/error handling to application, then i should have to implement some code for it, right ?
>3) List syncbooutdelta
<b>SyncKey:0001233035 Action:M SendType:SEND</b>
doesnt it mean that when i sync , the uploader will pick up this data and do a modification ??
i have change the metadata like this
<SyncBO id="ZCON" version="1" type="timedTwoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync=<b>"true" </b>downloadOrder="1">
1) i try to sync the application and check the worklist monitor, there is nothing in the inbox ? how come ?
2)if i test using emulator, i try to modify a value and execute, i am getting the following error.
<u>
Header action from mobile="MOD", R/3 action="ADD"
Return code 1 (DOWNLOADER)
</u>
i try to modify not "Add"
3) I am using Time 2 Way , how to check it is synchronous or asynchronous ? in merep_sbuilder, the default asyn. is checked, meaning async ??
the type is T01 , ASYNC
4)
public void checkInboxConflict(){
ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
MeIterator iter;
SyncBoResponse resp;
try {
iter= errorConflictInbox.getAllSyncBoResponses();
while(iter.hasNext()){
resp= (SyncBoResponse)iter.next();
String bo=resp.getSyncBoDescriptor().getSyncBoName();//SyncBo Name
String state=resp.getSyncBoResponseState().toString();
String res=resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
String msg=resp.getText();// This will return the exact message from the server
System.out.println("bo:" +bo +" state: " +state +" res: " +res +" msg:" +mtext);
boolean syncStatusComplete= SmartSyncRuntime.getInstance().getInboxNotifier().isSyncStatusComplete();
System.out.println("syncStatus:" +syncStatusComplete);
}catch (Exception e) {
e.printStackTrace();
<u>bo:ZCON state: INITIAL res: CONFLICT msg:Conflict: R/3 = delete, device = modify
SyncStatus=true (complete)
</u>
5) after that i change my code to this
while(iter.hasNext()){
if(resp.getSyncBoResponseState().equals(SyncBoResponseState.INITIAL)){
String a=resp.getSyncBoResponseState().toString();
String a1=syncBO.getSyncState().toString();
resp.acceptClientSyncBo(); //No transaction stated to commit
resp.delete();
String b=resp.getSyncBoResponseState().toString();
String b2=syncBO.getSyncState().toString();
System.out.println("state1: " +a +"state2: " +b);
System.out.println("SyncState1: " +a1 +"SyncState2: " +b1);
<u>state1: INITIAL state2: RESOLVED </u>
<u>SyncStatus1:QUANRANTINE SyncStatus2: INCONSISTENT</u>
and i try to sync ...no data in worklist
6)i try to list out all the delta to be uploaded
ListAllOutDelta to be upload
<u>SyncKey:0001233349 Action:I State:99925F8E24DFFE49A4563C5E018E9B61 SendType:SEND
</u>
i am modifying the rows, not Insert a new row, the Action:'I' instead of 'M', pls clarify on this.
after i sync, i found out that there is 2 record with different syncKey but same primary key and all attributes appear to be same except the attribute that i changing.
<u>SYNCKEY PERSNUMBER CITY STREET HOUSENO</u>
0001230298 000000000 HELL <u>ANG MO KIO</u> 0123456789 (modified record)
0001230299 000000000 HELL <u>HEAVEN ST</u> 0123456789(old record)
i check the application and found out that the previous record that i modify have its value changing locally but not updated into the backend, after sync, there is another record downloaded into this application which is the old record before i modify with different syncKey.
but when i check the backend table, there is only 1 record inside, because i dont implement the 'Create' Bapi.
does it make sense ?
7) when i check my client , the data is persisted with modified value , but the changes is not reflected in the server, how come the data in client is not uploaded to the server.
acceptClientSyncBo will make the client wins how come the data is not get updated in server ?
Re: Regarding modifying Sync BO
According to him, can anyone translate the things highlighted below
for modifying one sync bo instance , there is no need to use createUnlinkedCopy()..
just use like this..
sb = dataFacade.getSyncBo(sbd,key);
SmartSyncTransactionManager transactionManager;
transactionManager = dataFacade.getSmartSyncTransactionManager();
transactionManager.beginTransaction();
setHeaderFieldValue(sb,"PERSNUMBER","9866321467");
setHeaderFieldValue(sb,"FIRSTNAME","RajaSekhar");
setHeaderFieldValue(sb,"LASTNAME","Varigonda");
setHeaderFieldValue(sb,"PROFESSION","Technical Specialist");
setHeaderFieldValue(sb,"***","MALE");
setHeaderFieldValue(sb,"BIRTHDAY","1977-09-28");
setHeaderFieldValue(sb,"HEIGHT","165");
setHeaderFieldValue(sb,"WEIGHT","75");
// Commit the transaction
transactionManager.commit();
setHeaderFieldValue - can be used to set value in new sync bo instance , or modify the instance.
<b>
But one main think here have to consider is , if you have created one Sync Bo instance , not synchronized with back end and u have modified that, then thats just like a creation .So during sync this will call Create Bapi Wrapper.
</b>
But after synchronization , is u are modifying that instance , then it is a modification(will call MODIFY Wrapper in back end during synchronization). u must have the right to modify this instance in the client side.
hope u got it.
u can debug MI Applications in NWDS.
refer this blog written by Arun
/people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
let me know , if u have doubts
Regards
Kishor Gopinathan
pls comment... -
Can not update an assignment block with on_new_focus
Hello Experts,
I have the following problem. I created a new component which is similar to the component BP_BPBT to create activities for Business Agreements. In the overview page of the business agreement in WebUI, I have now the assigment blocks "Plannend activities" and "Interaction History".
When I create a new activity in the assigment block "planned activities" with the new button and save the activity with the buttons "SAVE" or "SAVE AND BACK". The new created actity is shown, depending on the "Active Status" , in one of the assignment blocks "Plannend activities" and "Interaction History". When I create an another activity in the same way, the new actiity is not shown in the assignment blocks. But when I reload the page again, I can see the new created activity.
During debugging, I see, that the first creating activity is in the collection in the method ON_NEW_FOCUS. When I create an another activity, the collection is not updated. Here is my coding:
* get collection of dependent nodes
TRY.
entity ?= focus_bo. "BuAg Entity
CATCH cx_sy_move_cast_error.
RETURN.
ENDTRY.
TRY.
lr_entity = entity->get_related_entity( iv_relation_name = 'BuAgBuPaRel' ).
lv_collection = lr_entity->get_related_entities(
iv_relation_name = 'BuilInteractionHistoryRel'
* D022159: Performance optimization
iv_mode = lv_mode ).
Can anyone explain me, why the activities (after the first one) are not in my collection.
Can anyone help me to fix this problem?
Kind Regards,
John H.Hi,
Please check if you have added your entity to collection after you save the entry. It looks like your value is saved in DB but its not reflected on UI because you are not refreshing your collection.
I would suggest that you write a code after you save and commit to refresh your collection of the context node.
Regards,
Bhushan
Maybe you are looking for
-
How to create a event at the time of scheduling a webi report
if event fires then only it schedules the webi report give in a brief steps pls its urgent for me.
-
How do I copy an image in LR to the clipboard?
I can't find the option to copy an image from LR's library to the clipboard - I'm sure I'm just overlooking it - can someone help? Thanks!!
-
Images Missing in Detail Layout? Please Help!
So for some reason the details section of my web apps will not show images, and I cannot figure out why. Images were showing up before, but when I imported the items from a spreadsheet, the images went missing! The image files (.jpg) are still in the
-
TS1334 Saving attachments in Outlook for Mac
I cannot save email attachments in Outlook for Mac because it says I do not have permission to save it. How do you find the file in Finder?
-
Hi All, My client has the following business scenario, If the amount is paid within 30 days, there is a cash discount of say 2%. When the goods are sold following is the accounting entry created, Debtors Ac ........Dr To Sales Ac............Cr