Replace '&' with 'AND'
Hi All
I am creating a XML file with a procedure.
It works fine but when i want to open it gives the error bcos of '&'
For that i want to use the escape(is it right)
like for description field how can i query to replace '&' with 'AND'
can anyone help me in quering it as well
Please let me know
Thanks
Mandar
There's no need to replace the ampersands with 'and'. Encode them before adding them to an XML:
target_string := dbms_xmlgen.convert('string with an & here', dbms_xmlgen.entity_encode);And use "entity_decode" when you're reading from the XML.
Similar Messages
-
XSLT mapping not working b'coz " " & " " replaced with and
Hello Experts,
I have a RFC to JMS scenario. One of the parameter of RFC is a string field. This field will contain the XML data in it.
I need to create a complete XML payload using this data in a string field. For this I am using XSLT map :
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
<xsl:output method="xml" omit-xml-declaration="no"/>
<xsl:template match="/">
<xsl:for-each select="//Nem">
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
This XSLT mapping works fine when tested independently.
But in actual scenario at runtime the "<" & ">" used to indicate a node are getting replaced with < and >. Then the XSLT mapping fails and produces no output.
The output of XSL will be passed in to a java mapping which signs the payload digitally.
What is the issue with these signs? How can I overcome this problem?
Any inputs will be of great help.
Kind Regards,
Abhijeet.
Edited by: Abhijeet Ambekar on May 4, 2010 2:01 PMHi Stefan,
Yes - I want to get rid of & # 60. But these (& # 60 and & # 62) are not added by XSLT mapping. Rather they are in the input available to XSLT map.
In sxmb_moni, i can see the inbound payload correctly :
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:HDK083_REFUS_SENDDOCU xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<P_SIGN_DOCUMENT />
<P_XML_DOCUMENT><NemRefusionIndberetningSamling><NemRefusionIndberetningStruktur MessageID="1"><HeaderStruktur><SignOffIndikator>true</SignOffIndikator><TransaktionKode>Opret</TransaktionKode><IndberetningstypeKode>Anmeldelse</IndberetningstypeKode><FravaerTypeKode>Sygdom</FravaerTypeKode><FravaerendeStruktur><FravaerendeTypeKode>Loenmodtager</FravaerendeTypeKode><LoenUnderFravaerIndikator>false</LoenUnderFravaerIndikator></FravaerendeStruktur><IndberetningUUIDIdentifikator>bf9cc44e-af15-4e19-8457-5845d75385d2</IndberetningUUIDIdentifikator><ReferenceAttributTekst>ref. Nielsen-1503831372 (23. oktober 2009)</ReferenceAttributTekst>
but when I try to download the payload or right click on payload to view source I get something like below:
<?xml version="1.0" encoding="UTF-8"?><rfc:HDK083_REFUS_SENDDOCU xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><P_SIGN_DOCUMENT></P_SIGN_DOCUMENT><P_XML_DOCUMENT>& # 6 0;NemRefusionIndberetningSamling& # 62; & # 60;NemRefusionIndberetningStruktur MessageID="1"& #62;& #60;HeaderStruktur& #62;& #60;SignOffIndikator& #62;true& #60;/SignOffIndikator& #62;& #60;TransaktionKode& #62;Opret& #60;/TransaktionKode& #62;& #60;IndberetningstypeKode& #62;Anmeldelse& #60;/IndberetningstypeKode& #62;& #60;FravaerTypeKode& #62;Sygdom& #60;/FravaerTypeKode& #62;& #60;FravaerendeStruktur& #62;& #60;FravaerendeTypeKode& #62;Loenmodtager</FravaerendeTypeKode><LoenUnderFravaerIndikator& #62;false</LoenUnderFravaerIndikator></FravaerendeStruktur& #62;<IndberetningUUIDIdentifikator& #62;bf9cc44e-af15-4e19-8457-5845d75385d2& #60;/IndberetningUUIDIdentifikator& #62;& #60;ReferenceAttributTekst& #62;ref. Nielsen-1503831372 (23. oktober 2009)& #60;/ReferenceAttributTekst& #62;
(extra spaces added to "& # 60" as browser was converting it to < ,>)
If i take the source code for payload and test XSLT mapping, it fails. But if I manually replace all "& # 60" with < and "& # 6 2" with >, then the mapping works fine.
So I think for XSLT map to work correctly, we need to replace all "& # 60 " . Please suggest.
Kind Regards,
Abhijeet. -
Please help if you can. I have had my Imac for 4+ years and the CD-R/RW just died. I need to replace, but can't figure out from anyone which model and where to buy it.
The current information is as follows from the CD-ROM that has been removed. SONY, CD-R/RW Drive Unit.
Model No. CRX170E
Serial No. 7079750
Version: BA
Full bar code and white label on face is as follows:
SCDRW CRX17 678T0030 *SD21520ZLKOHA
I have looked throughout this forum, but can not see anything as to replacing the drive. I don't want an external, I want to fix the internal one with a replacement. I assume eventually this information may be useful to the Do It Yourselfers out there as it's only time before they die. Thanks in advance for any help...!The 'fitting' document you sent is quite amazing and a great resource and reference guide. Unfortunately, it's not exactly what I needed.
What I need to know is where do I look to find a 100% compatible, super drive that would of shipped with the upgraded versions of my particular IMAC. I have found a ton of information as to incompatible drives with idvd 6.x, Itunes 6.x, etc. but no reference or on-line retailer that will enable me to replace my DEAD cd drive with a compatible superdrive.
System details are as follows:
Name: iMac G4 (Flat Panel)
Model: Mxxxx iMac G4 700MHz
Bus speed: 100MHz
Screen size: 15 inch
Factory: QT (Quanta, Taiwan)
URL: Technical specifications by apple-history.com codetonumber: 101 - 5U5109MDS43
Model introduced: 2002
Production year: 2002
Production week: 24 (June)
Production number: 1157 (within this week)
Finally, Sadly I had the low-end as described in the attached link near the bottom of this article. However, as stated direct from the apple-history description a superdrive was comptabile with this type of system. Surely there would be a newer model of CD-R/RW DVD Combo drive available to replace it with...? Yes/No...?
http://www.apple-history.com/?page=gallery&model=imac_flat -
User name replaced with ,#,#,#,#
Over the fall, we upgraded our sharepoint 2007 site to sharepoint 2010. We only updated the platform and back end though, we left it set up with the same 2007 sharepoint look and feel. Once we upgraded, we started to come across several problems, one of
the more annoying ones is users with all but full admin permissions to sites getting locked out of pages they have access to and edit capabilities to. Sharepoint allows the user to edit a page but when they try to check it in, their username is replaced with
",#,#,#,#" and then they get denied access because no user named ",#,#,#,#" has access to our site. Has anyone else experienced this problem or has a suggestion of where to start looking
to solve it? It happens on every pageHi,
Let’s verify the following:
Make sure that all the Master page, CSS files, any other files that are required are published. If there are files that are required in the master pages and are not published, users will get access denied even if they have full control on the site.
Provide global read access to the master page library. Site actions > site settings > Master Page and page layouts > Library tab > Permissions. Add All authenticated users to READ ONLY.
Here is a similar post, refer to it:
http://sharepoint.stackexchange.com/questions/60699/user-with-full-control-permission-is-getting-access-denied-message
whether the issue persists in any other site collection within the same web application. Add a new "User Policy" for the web application that allows "All Authenticated Users" the permissions "Full Read" on the desired zone.
http://underthehood.ironworks.com/2011/05/sharepoint-2010-access-denied-for-users-that-have-full-control-on-the-site.html
http://technet.microsoft.com/en-us/library/ff758656.aspx
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
when i go to sync my apps with my computer it tells me ''are you sure you want to sync apps ? all exsisting apps and there data on (iphone) will be replaced with the apps on this itunes library'' does this mean all my data will be lost if i continue ?
Regarding your broken, previously authorized computer, here's how that works:
You would authorize your new computer -- maybe you've done that already. Then you will have two computers authorized. Apple allows you to have up to five computers authorized at any time. If you get to five, you can then go to your account details in iTunes and remove all authorizations.
Bear in mind this is not saying you can synch to more tham one library. Razmee209 and gdgmacguy's comments above are correct. But if Apple only allowed you to authorize one computer at a time, then having a broken computer would mean you could no longer use your Apple ID with iTunes. -
I have now downloaded all of my CD's to my itunes library and have since only purchased new music using itunes Store. This itunes library is stored on an old Dell Desktop that I am getting ready to replace with an iMac; how can I move the music? 86GB
Is the music I downloaded from my CD's already in the iCloud or only the music I purchased on itunes?This might help: http://www.macworld.com/article/1146958/move_itunes_windows_mac.html.
-
Find and replace with multiple files and with a watch folder
I am trying to create a watch folder that uses red_menace script to:
1. Have a folder that receives multiple xml files that run the script one by one.
2. then move the files to an output folder.
I tried modifying the set TheFIle to choose file -- the original text file to:
with multiple selections allowed
But that doesn't seem to work. I know i'm missing a step. Any help is much appreciated!
Thanks!
The way i'd like to setup things is having an input folder on the desktop (or just have the application on the desktop and I can drag the files onto it), and let it do it's thing. Once it's done have it export the xml files into an output folder.
Here's what i got so far:
on open
set TheFIle to choose file -- the original text file
set TheFolder to ("Macintosh HD:Users:user1:Desktop:out") -- the folder for the output file
set TheName to (GetUniqueName for TheFIle from TheFolder) -- the name for the output file
set TheText to read TheFIle -- get the text to edit
set Originals to {"KPCALDATE", "KPCALEVENT", "KPCALDAY", "KPCALBODY", "obituaries name", "" & return & "</cstyle></pstyle>" & return & "<pstyle name=\"obituaries text\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>", " .com", " .net", " .org", " .edu", "www .", "www. ", "Ho- nolulu", "<pstyle name=\"kicker 12\"><cstyle allcaps=\"1\">fashion news</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "<component name=\"Headline 1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline 1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 36\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>-", "-", "
Per serving:", "<pstyle name=\"Titlebar - mini, red\"><cstyle allcaps=\"1\">NATION & World </cstyle><cstyle allcaps=\"1\">Report</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "</cstyle></pstyle>"} -- the terms that can be replaced
set Replacements to {"subhed", "subhed", "subhed", "Normal", "obituaries text", ", ", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>
", ".com", ".net", ".org", ".edu", "www.", "www.", "Honolulu", "", "<component name=\"Headline1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 27\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>", " ", "
Per serving:", "","" & return & "</cstyle></pstyle>"} -- the replacement terms
repeat with AnItem from 1 to count Originals
set TheText to (replaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
end repeat
try -- write a new output file
tell application "Finder" to make new file at TheFolder with properties {name:TheName}
set OpenFile to open for access (result as alias) with write permission
write TheText to OpenFile starting at eof
close access OpenFile
on error errmess
try
log errmess
close access OpenFile
end try
end try
end open
to GetUniqueName for SomeFile from SomeFolder
check if SomeFile exists in SomeFolder, creating a new unique name if needed
parameters - SomeFile [mixed]: a source file path
SomeFolder [mixed]: a folder to check
returns [text]: a unique file name and extension
set {Counter, Divider} to {"00", "_"}
-- get the name and extension
set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
if TheExtension is missing value then set TheExtension to ""
set TheName to text 1 thru -((count TheExtension) + 2) of TheName
set NewName to TheName & "." & TheExtension
tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
repeat while it contains NewName
set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
set NewName to TheName & Divider & Counter & "." & TheExtension
end repeat
end tell
return NewName
end GetUniqueName
to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
displays a dialog for multiple item edit (note that a return is used between each edit item)
for each of the items in SomeItems, a line containing it's text is placed in the edit box
the number of items returned are padded or truncated to match the number of items in SomeItems
parameters - SomeItems [list]: a list of text items to edit
TheTitle [boolean/text]: use a default or the given dialog title
ThePrompt [boolean/text]: use a default or the given prompt text
returns [list]: a list of the edited items, or {} if error
set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
if TheCount is less than 1 then return {} -- error
if ThePrompt is in {true, false} then -- "with" or "without" Prompt
if ThePrompt then
set ThePrompt to "Edit the following items:" & return -- default
else
set ThePrompt to ""
end if
else -- fix up the given prompt a little
set ThePrompt to ThePrompt & return
end if
if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
set TheTitle to "Multiple Edit Dialog" -- default
else
set TheTitle to ""
end if
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
repeat with AnItem from 1 to TheCount -- pad/truncate entered items
try
set the end of TheItems to (item AnItem of TheInput)
on error
set the end of TheItems to ""
end try
end repeat
return TheItems
end EditItems
to replaceText of SomeText from OldItem to NewItem
replace all occurances of OldItem with NewItem
parameters - SomeText [text]: the text containing the item(s) to change
OldItem [text]: the item to be replaced
NewItem [text]: the item to replace with
returns [text]: the text with the item(s) replaced
set SomeText to SomeText as Unicode text -- TID's are case insensitive with Unicode text
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
return SomeText
end replaceText
Message was edited by: gamebreakersWhen you use the open or adding folder items to handlers, you need to add the parameters for the file items passed to them.
I'll go ahead and post the applet/droplet version of my original script from the previous topic for reference:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px; height: 340px;
color: #000000;
background-color: #FFEE80;
overflow: auto;"
title="this text can be pasted into the Script Editor">
-- search and replace multiple items applet/droplet/folder action
-- the terms to replace - edit as needed
property EditableItems : {¬
"one", ¬
"two", ¬
"three", ¬
"four", ¬
"five", ¬
"six", ¬
"seven", ¬
"eight", ¬
"nine", ¬
"ten", ¬
"eleven", ¬
"twelve", ¬
"thirteen", ¬
"fourteen", ¬
"fifteen", ¬
"sixteen", ¬
"seventeen", ¬
"eighteen", ¬
"nineteen", ¬
"twenty"}
-- the folder for the output file(s) - change as needed
property TheFolder : (path to desktop)
property LastEditItems : EditableItems
on run
the applet/droplet was double-clicked
open (choose file with multiple selections allowed)
end run
on open TheItems
items were dropped onto the applet/droplet
parameters - TheItems [list]: a list of the items (aliases) dropped
returns nothing
repeat with AnItem in TheItems
ReplaceMultipleItems from AnItem
end repeat
end open
on adding folder items to this_folder after receiving these_items
folder action - items were added to a folder
parameters - this_folder [alias]: the folder added to
these_items [list]: a list if items (aliases) added
returns nothing
repeat with AnItem in these_items
ReplaceMultipleItems from AnItem
end repeat
end adding folder items to
to ReplaceMultipleItems from SomeFile
replace multiple text items in SomeFile
parameters - SomeFile [alias]: the file to replace items in
returns nothing
set TheName to (GetUniqueName for SomeFile from TheFolder) -- the name for the output file
set TheText to read SomeFile -- get the text to edit
set Originals to (choose from list EditableItems default items LastEditItems with prompt "Select the terms to replace:" with multiple selections allowed) -- the specific terms to replace
set LastEditItems to Originals
set Replacements to (EditItems of Originals with Title given Prompt:"Edit the following replacement terms:") -- the replacement terms
repeat with AnItem from 1 to count Originals
set TheText to (ReplaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
end repeat
try -- write a new output file
tell application "Finder" to make new file at TheFolder with properties {name:TheName}
set OpenFile to open for access (result as alias) with write permission
write TheText to OpenFile starting at eof
close access OpenFile
on error errmess
try
log errmess
close access OpenFile
end try
end try
end ReplaceMultipleItems
to GetUniqueName for SomeFile from SomeFolder
check if SomeFile exists in SomeFolder, creating a new unique name if needed
parameters - SomeFile [mixed]: a source file path
SomeFolder [mixed]: a folder to check
returns [text]: a unique file name and extension
set {Counter, Divider} to {"00", "_"}
-- get the name and extension
set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
if TheExtension is in {missing value, ""} then
set TheExtension to ""
else
set TheExtension to "." & TheExtension
end if
set {NewName, TheExtension} to {TheName, (ChangeCase of TheExtension to "upper")}
set TheName to text 1 thru -((count TheExtension) + 1) of TheName
tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
repeat while it contains NewName
set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
set NewName to TheName & Divider & Counter & TheExtension
end repeat
end tell
return NewName
end GetUniqueName
to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
displays a dialog for multiple item edit (note that a return is used between each edit item)
for each of the items in SomeItems, a line containing it's text is placed in the edit box
the number of items returned are padded or truncated to match the number of items in SomeItems
parameters - SomeItems [list]: a list of text items to edit
TheTitle [boolean/text]: use a default or the given dialog title
ThePrompt [boolean/text]: use a default or the given prompt text
returns [list]: a list of the edited items, or {} if error
set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
if TheCount is less than 1 then return {} -- error
if ThePrompt is in {true, false} then -- "with" or "without" Prompt
if ThePrompt then
set ThePrompt to "Edit the following items:" & return -- default
else
set ThePrompt to ""
end if
else -- fix up the given prompt a little
set ThePrompt to ThePrompt & return
end if
if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
set TheTitle to "Multiple Edit Dialog" -- default
else
set TheTitle to ""
end if
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
repeat with AnItem from 1 to TheCount -- pad/truncate entered items
try
set the end of TheItems to (item AnItem of TheInput)
on error
set the end of TheItems to ""
end try
end repeat
return TheItems
end EditItems
to ReplaceText of SomeText from OldItem to NewItem
replace all occurances of OldItem with NewItem
parameters - SomeText [text]: the text containing the item(s) to change
OldItem [text]: the item to be replaced
NewItem [text]: the item to replace with
returns [text]: the text with the item(s) replaced
set SomeText to SomeText as text
if SomeText contains OldItem then
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
try
set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
on error ErrorMessage number ErrorNumber -- oops
set AppleScript's text item delimiters to TempTID
error ErrorMessage number ErrorNumber
end try
end if
return SomeText
end ReplaceText
to ChangeCase of SomeText to CaseType
changes the case or capitalization of SomeText to the specified CaseType using Python
parameters - SomeText [text]: the text to change
CaseType [text]: the type of case desired:
"upper" = all uppercase text
"lower" = all lowercase text
"title" = uppercase character at start of each word, otherwise lowercase
"capitalize" = capitalize the first character of the text, otherwise lowercase
returns [text]: the changed text
set SomeText to SomeText as text
if CaseType is not in {"upper", "lower", "title", "capitalize"} then return SomeText
return (do shell script "/usr/bin/python -c \"import sys; print unicode(sys.argv[1], 'utf8')." & CaseType & "().encode('utf8')\" " & quoted form of SomeText)
end ChangeCase
</pre>
Edit: how does the choose from list dialog handle those big strings? I'm guessing not very well - is that why you avoided using them?
Message was edited by: red_menace -
It's always worked until this past week, nothing changed by user that I know of. I've checked pop-up blocker to no avail. Using Avira free security, it updated a few days ago, did a restore after it was updated to before the update, didn't help either. Want let me open Hughes net mail in Fire Fox at all. Can access it from Explorer but hat Explorer, it's slower than Fire Fox. Any help is appreciated as I've run out of ideas.
I am not entirely sure what problems you are reporting.
# Home Page are you able to set that as required or not ?
#Webmail
#* I am not clear, are you able to open that with Firefox ?
#* I understand you are able to open it with Internet Explorer
Are you saying that your webmail is set as one of your home pages, but that it is replaced with something else ?
Do other websites and searches work ok in Firefox or are you also having other problems in Firefox use ? -
Hard drive crashed and had to replace drive and logic board on my MacBook pro. After Install tried to sync with my iPhone and a dialog box pops up stating "this iPhone synced with another iTunes library, erase and sync?". I checked the manually manage music and videos box because I don't want all my wife's pics and music on my iPhone. How do I Sync without erasing what I have on my iPhone???
columbus new boy wrote:
How crap is that?
It's not crap at all.
It's not that simple. For example, I've 3500 songs on my MacBook but don't want them all on my phone, so I have to manually select each song again???
There has to be a solution.
Why not simply make a playlist with the songs you want on the iPhone?
and maintain a current backup of your computer. -
Bought my iPod 10months ago, now the battery life is really bad!!! I need to know if I can get it replaced with the guaranty! Thanks :)
I'd make an appointment at your local apple store, have them check it out and see what they say. If they determine that it's a manufacturer's defect then they may replace it.
In case they do, I'd do a full sync and backup before you take it in. -
HT4191 Notes getting mixed up and or replaced with other users i-phone?
For some reason whenever I sync my i-phone 4s and my wife syncs her i-phone 4 to itunes on our laptop which is a compaq(I don't know if that might be a problem) by the way, some of her notes always gets deleted and gets replaced with my notes, and she'll have just a couple of her notes but most of mine. It's been driving us crazy for months now cuz we can't figure it out! Do we need to sync our phones on different computers? Is there a setting that I'm missing? What are we doing wrong????
Please let me know whether you experience the following issue, and submit feedback (or if you are an Apple Developer, a bug report). This issue is not related to synchronization.
Title/Subject:
Contacts 7.1 replaces one contact's Notes with another contact's Notes
Summary:
This issue's significance is severe because data is permanently lost: After searching for contacts and editing one of the contact's Notes, all found contacts' Notes are replaced with the changed contact's Notes.
Steps to Reproduce:
1. Launch the Contacts 7.1 app in OSX 10.8.2.
2. Search for a string that appears in several contacts' Notes field.
3. Click on one of the contacts in the search results.
4. Ensure that "Edit Card" mode is NOT enabled.
5. Alter the found string in the contact's Notes field.
6. Click on a different contact in the search results list.
Expected Results:
The change is saved and the changed contact disappears from the search results list.
Actual Results:
All found contacts disappear from the search results list, and all found contacts' Notes are replaced with the changed contact's Notes.
Regression:
This issue did not exist in OSX 10.7's Address Book app. I have not had the opportunity to test earlier releases of OSX 10.8's Contacts app.
Notes:
Example:
Suppose a search for "P1" finds three contacts:
Name: Alan | Note: Ask permission. P1
Name: Betsy | Note: Backup files. P1
Name: Charles | Note: Call. P1
While "Edit Card" mode is NOT enabled, in Alan's note, change "P1" to "P2". Then click on Betsy in the search results list. Betsy and Charles' Notes are erroneously and permanently replaced with Alan's Note:
Name: Alan | Note: Ask permission. P2
Name: Betsy | Note: Ask permission. P2
Name: Charles | Note: Ask permission. P2 -
My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to disable the data held on it and ensure that if it is fixed, nobody can use/see my data and access my account?
Hi Gazpan,
Thanks for visiting Apple Support Communities.
I recommend using the steps in this article to back up your iPhone if possible:
iOS: Back up and restore your iOS device with iCloud or iTunes
http://support.apple.com/kb/ht1766
You may also find this advice helpful for your situation:
What to do before selling or giving away your iPhone, iPad, or iPod touch
http://support.apple.com/kb/ht5661
If you no longer have your iOS device
If you're using iCloud and Find My iPhone on the device, you can erase the device remotely and remove it from your account by signing in to icloud.com/find, selecting the device, and clicking Erase. When the device has been erased, click Remove from Account.
If you're unable to complete either of the above steps, you should change your Apple ID password. Changing your password won't remove any personal information that is cached on the device, but it will make sure that the new owner can't delete your information from iCloud.
Cheers,
Jeremy -
i have just installed itune again. now when i sync it, it show me warning that all existing music will be replace with new itune which is empty. h
ow can i keep my pervious files of music photos and other files and sync with new installed ituneUse your backup copy of your computer to put everything back on the computer.
-
Why can I no longer find my iphotos? Updated from 10.6 to 10.8.2 recently... The iphoto logo in my dock has been replaced with a transparent, grey, question mark... why? How do I restore my iphotos? Searched for them in Finder, and in "search"... they appear as text only.. but no photos.. please help.. Mark
Have you verified that the iPhoto applications is not in the Applications folder or somewhere else on the hard drive?
To do so download and use Find Any File to search for "iPhoto.app" because FAF can search areas that Spotlight can't. If the application is somewhere else on the HD FAF will find it. However, I doubt that it will be there but it's worth a search.
OT -
Can anyone tell me how to tranfer the music that is on my Shuffle to iTunes? When I go to Sync it, it gives me a warning that all the music on my Shuffle will be deleted and replaced with what is on my iTunes. I recently changed computers from an HP to a Mac-Mini and did not transfer/sync the itunes prior to getting rid of my itunes. So the music I had on itunes does not appear in my library. Help please!
See this excellent user tip from another forum member turingtest2 outlining the different methods and software available to help you copy content from your iPod back to your new Mac and into iTunes.
Recovering your iTunes library from your iPod or iOS device
Then proceed to do the Erase and Sync or restore the device.
B-rock
Maybe you are looking for
-
Mid-2010 Macbook Pro Randomly goes back to login screen?
My mid-2010 MBP will randomly log me out. I'll be on the internet or working on a paper and it will go to the blue screen that occurs when you're booting up the computer and then to my login screen, where I have to type in my username and password a
-
Itunes 11.1.1 Errors occurred during installation...
Errors occurred during installation before Itunes could be configured. Your system has not been modified. To complete the installatoin, run the instaler again. Click Finish to exit the installer. I've tried re installing iTunes 11.1.1 multiple times
-
Help me, about SMSDemo in WTK 2.0
When I run the SMSDemo, I can successfully send the SMS to the Utility but cannot receive the SMS (msg=conn.receive() got a NullPointerException). Anyone can help me? Or has the same problem? Please response.
-
After saving, word documents have been disappearing from my macbook air
After saving, word documents have been disappearing from my macbook air. Have checked outlook temp files, temporary files don't show them, can't find them anywhere. Includes coursework files that I have lost because I don't back up regularly. Even th
-
Slowness after 10.8.4 - distnoted, cfprefsd, and SleepServicesD
Seeing tons of console entries similar to the below. 6/14/13 12:22:48.000 PM kernel[0]: memorystatus_thread: idle exiting pid 8023 [distnoted] 6/14/13 12:24:19.000 PM kernel[0]: memorystatus_thread: idle exiting pid 8132 [SleepServicesD] 6/14/13 12:2