ICal displays twice the same date on the calendar
Ater upgrading to 10.6 and 10.6.1, iCal messed up previous calendars, duplicating a day in the calendar. Specifically, in my case, "Saturday, 17th October" appears twice, one after the other (in portuguese). This affects all future events, which now are shown one day earlier than they should.
I've seen this bug in iCal before, some time ago, so perhaps it is not something specific to this version. Anyway, it is hard to believe that such errors can occur... embarrassing.
The image to the problem is on http://files.me.com/marinho.barcellos/8ux17j
Marinho.
I think I got it (at least for me)! The time zone comment from "The Cowboy" got me thinking . . .
I set my System Preferences, Date & Time to another time zone with the same offset from GMT as where I live, but a place without Daylight Savings (Lima). I then exported a VCAL from Palm Desktop and imported into iCal. It worked!! The single all-day events were not 2-day events no matter when they were on the calendar (DST or not). The single day events at a specific time were all correct for their time of day, again no matter what month they were in.
Next step, the iPod. I set my Settings, "Mail, Contacts, Calendars," Calendars, Time Zone Support, ON, Time Zone of Lima. Then synced m iPOD with Info, Calendars, Sync iCal set, and voila, everything shows up exactly as I want.
I think I might have "turned off" the Daylight Savings processing and I don't know what else it might do, but for now, it works. What a way to run a railroad, though.
I never have liked iCal with its impossible colors and too-small display. This DST thing puts a nail in the coffin for iCal for me.
Thanks, El Gaucho, for the tip on time zones. Never in a million years would I have tried anything like that.
Similar Messages
-
Function module to get the same date of the previous month
Hi
Can anybody tell me how to get the
same date of the previous month.
example if i am entering date as 30 may 2007
i want the date as 30 april 2007CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
EXPORTING
date = pa_end
days = '00'
months = '01'
signum = '-'
years = '00'
IMPORTING
calc_date = pa_end.
ENDIF.
nd try below FMs as well...
CCM_GO_BACK_MONTHS
HR_PT_ADD_MONTH_TO_DATE
RP_CALC_DATE_IN_INTERVAL
Hope it will solve your problem...
Reward points if useful..
Thanks & Regards
ilesh 24x7 -
The successor activity begins on the same date as the predecessor finishes.
How do I extend the working hours for each activity. I am currently encountering this problem.
My calender is set as 8 hours day, 0800hr - 1700 my activity are as follow -
Activity ID Activity Name Start Finish
A1020 1 16-May-12 08:00 16-May-12 17:00
A1010 2 17-May-12 08:00 17-May-12 17:00
A1000 3 18-May-12 08:00 18-May-12 17:00
But when I change the calender to a 10 hour work day, it becomes
Activity ID Activity Name Start Finish
A1030 1 16-May-12 08:00 16-May-12 17:00
A1040 2 16-May-12 17:00 17-May-12 15:00
A1050 3 17-May-12 15:00 18-May-12 12:00
Is there anyone to change is such that my all my activity starts at 0800hr and finishes at 1900hr (10hour work day)?
I have changed my settings in 'Admin Preference' ->'Time Period' ->'Hours per Time Period' to 10 hours/day and selected the "Use assigned calender to specify the number of work hours for each time period". But its still the same.
Edited by: 934917 on May 17, 2012 5:01 PMSimply change your "Original Duration" from 8 hours to 10 hours. If it is a lot of activities, perform a global change that says: If(Original Duration = 8h) Then(Original Duration = 10h), or if you prefer Then(Original Duration = Original Duration + 8h)
-
When i try to reload the same data what will happen in my ods?
Hi all,
Someone has already loaded the data from flat file into the respective ods.
for instance:
customer number customer name cust address
10001 xav 123
10002 xac 234
And this has been loaded by some one else.
If i am going to load the same data in the ods. will it create 2 entries nor just going to be only one entry.
i meant will it be like this
customer number customer name cust address
10001 xav 123
10002 xac 234
10001 xav 123
10002 xac 234
nor like this
customer number customer name cust address
10001 xav 123
10002 xac 234.
Thanxs
HarithaHi,
If two Records of same key combination is there then over writing will happn in ODS. Within the request overwriting is done in the updation(from change log table to active data table). Within different request overwriting is done during activation(new data table to change log table) Zero record mode is doing this.
read this along with other replies
Thanks and regards
Obily -
Why have all my emails now got the same date in Mail?
All incoming and outgoing emails show the same date in the list of mailboxes and the "sort by" columns. The date is 01/05/2012. How can I change this to show the "real" dates? This has only happened in the past 2 weeks.
I'm no able the start a discussion in the Mail community, so I hope this is the appropriate alternative.
Thank you very much.Go to Settings/Messages/Receive at/ and disable the mail address or phone number for the device that your sister is using.
Also have a look here: iMessage on iPad and iPhone Explained and De-Mystified -
Getting the same day of the week from a previous year in a Power Query calc column
Hi Power Query users,
Would like to get your suggestions on this problem. I have a customer that wants to see the previous year's sales for the same day of the week. So today is Friday July 25, 2014. Customer would like to see sales for the closest Friday on the previous year,
which was Friday July 26, 2013. Next year on Friday July 26, 2015, customer would see the sales for Friday July 25, 2014 and so on. Customer operates 7 days a week, all days of the year including holidays.
What is the most elegant way to do this? I am assuming the best thing to do is to add this date as a calculated column in the date table, but I am not quite sure the best way to write the formula (including handling of edge cases - leap years, providing
null when the previous year is not part of the date table, etc).
I am starting with the
date dimension as presented by Matt Masson.
Please help if you have any formula suggestions for this.
ThanksOkay, I'm making a couple of assumptions, so please let me know if these assumptions are incorrect:
1) Instead of all sales data being in a single column, current year and last year sales are provided in different columns,
2) The previous year sales column shows the sales occurring on the same
date as the current year sales (so in your example, 43214 is the sales figure for 6/1/2013.
If the above assumptions are true, we need to modify how the lookup is done. Let's assume that you created a custom column named SameDayOfWeekLastYear. Create another column called Previous Year Date, using the following function (Date_PreviousYear)
(date) =>
let
PreviousYearDate = Date.AddYears(date,-1),
PreviousYearDateAdjusted = if (Date.Day(date)=29 and Date.Month(date) = 2) then
#date(9999,1,1)
else PreviousYearDate
in
PreviousYearDateAdjusted
Incidentally, I created this function the week before your query, for a different purpose. In that case, it was to get the previous year sales occurring on the same
date as the current year sales. It actually gets to your starting point, but with all the sales data in a single column to start with. However, when the current year is a leap year and you apply the Date.AddYears function, February 29th is calculated
as February 28th of the previous year. If you then do a lookup for previous year sales, you get February 28th sales looked-up twice (the real Feb 28th and the bogus one resulting from taking February 29th back one year). The PreviousYearDateAdjusted identifier
puts a truly bogus date instead of a duplicated Feb 28th - one that will always return null when looking up the sales value.
This new date column will then be used to lookup the row of the previous year sales column that corresponds to the dates in the SameDayOfWeekLastYear column.
Assuming that the last step in your query is InsertedCustom1, create another custom column (Previous Year Net_Same Day?), which returns the sales on the same day as the current year (the result that you're after). The formula would be:
LookupValue(InsertedCustom1[Previous Year Net], InsertedCustom1[Previous Year Date], [SameDayOfWeekLastYear])
where LookupValue is the custom function mentioned previously. After creating this new custom column, you can then remove all of the columns you don't need.
Hope that the preceding is somewhat clear. -
Quota is displayed twice in 2006 for the same date
When iam entering Leave Quota Through PA30 , PA61 ,PT_QTA00
for a particular Employee it will display the Quota Twice
Is there any way we can stop this ?
is there any way we can Put cap that double Entry for the same date ?
Quota is deducting Normally but it is Displaying Twice
Plz Help ExpertsThank You So much
i changed in the info type
SPRO>> Time Management>> Time Data Recording and Administration>> Specify System Reaction to Overlapping Time Infotypes
Infotype 2006
Time Cstr. Class 01
Reaction Indicator : select according to The Requirement
Right now Reaction Indicator is set to W
Make the Reaction Indicator to E and save the Entry
It worked for now
one thing iam not sure how does V_T554Y table work
Plz let me know
Reaction I ndicator
This indicator determines how the system reacts when you enter new infotype records which overlap with existing ones.
The specifications are as follows:
A - The old record is delimited, all collisions are displayed.
E - The system does not allow you to create the new record, and
displays all collisions.
W - You can create the new record, but the old record remains unchanged. All collisions are displayed.
N - As for W, but collisions are not displayed.
Edited by: jkhose on Jan 25, 2012 1:23 AM -
Query result shows the same data twice
Hello All,
I've created UDFs like Supplier Name, Supplier Address, and (Excise Details like)Supplier ECC No,
Supplier Range.
And I've created Query for Supplier Name and Supplier Address, and I assigned to FMS, Its working Correctly.
I've created Query for Supplier ECC No. the Query is,
SELECT T0.[ECCNo],T1.[CardName]
FROM CRD7 T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
WHERE T0.[ECCNo] Like '[%]'
I saved the Query, and assigned to FMS.
At this stage (i.e. Query for Supplier ECC No.) the above Query showing the same data twice.
Please suggest to rectify the problem.
Thanks,
PratheevirajYou can get rid of the duplicates by changing the query to
SELECT DISTINCT T0.ECCNo,T1.CardName
FROM CRD7 T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
WHERE T0.ECCNo Like '[%]'
But it is always worth understanding why you are getting multiple records to check that you are getting back what you want. I think you may be seeing this because CRD7 can have multiple records for a business partner - maybe one for each of 'pay-to' and 'ship-to' address? -
How to display the same data simultaneously on both a graph and a table.
I am a beginner.
I would like to display a reference line(?) on dvt:graph
whenever a row is selected on the related af:table.
I would like to show the same data,
simultaneously on both a graph and a table.
Is it possible?
I hope for a good hint. ^-^...Hi,
yes. It depends on how the reference line is getting its data. If e.g you can use EL to bind it to ADF bindings then attribute bindings for attributes of the iterator that also renders the table are enough to get the current selection.
If this is not possible you can follow http://thepeninsulasedge.com/frank_nimphius/2007/07/02/adf-faces-rc-programmatically-executing-a-button-method-using-javascript/ and create a selection listener for the table to programmatically manipulate the graph
Frank -
How to display more than one data on the same page?
Hello all,
I have a question that is if I want to choose more one data on the same page and the data is selected from the same column.
I.E I want to tick more than one boxes in the page but the data is selected from the same column.Select all the item to burn... right click...
Or
Place all items into a folder and burn the folder to the disc.
Or
Make a Burn Folder in the Finder (place items into the folder) and burn from there to a disc. -
How can I use the same data source twice?
in our system there is already a complete transfer of calculations to BI (0CO_PC_PCP_01).
However I want to create a new data flow from ERP starting from the same data source.
Is this possible?
Thanks for help!!Hi!
welcome to SDN forums.
anydata source can be mapped only to a single infosource. but it will not ristrict you to have different datatargets from a single infosource. so you have to use filters in infopackages to select the data target and filter the data for this data sources. Only thing you have to do with old dataflow is just ristrict the data relavent for the 1st Datatarget in old Infopackage and re.initialize.
with regards
ashwin -
Af:convertDateTime doesn't convert the same date if entered twice
I have a jsf page that only contains an af:inputDate field. Nested in the af:inputDate tag, is a af:convertDateTime tag with two alternative patterns: "dd/MM/yy" is the main pattern, and "ddMMyy" is the secondary pattern.
The problem I'm having is that when I enter the same date more than once consecutively, the date doesn't get formatted.
example:
I enter: "111111" I get "11/11/11"
then I enter again: "111111" and it doesn't get converted to "11/11/11"
Has someone encountered this problem? Is there a solusion?
source:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:form id="f1">
<af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx"
id="pt1">
<f:facet name="center">
*<af:inputDate label="Label 1" id="id1">*
*<af:convertDateTime pattern="dd/MM/yy" secondaryPattern="ddMMyy" dateStyle="long"/>*
*</af:inputDate>*
</f:facet>
<f:facet name="header"/>
<f:facet name="end"/>
<f:facet name="start"/>
<f:facet name="branding"/>
<f:facet name="copyright"/>
<f:facet name="status"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
</jsp:root>
Edited by: 825127 on Jan 3, 2011 10:39 AMI also face the same issue. Any solutions
Test case 1:
Enter 101110 and it formats to 10/11/2010
Now delete(erase) 10/11/2010 and enter 101110 and tab out, now the formatting doesn't work.
Also I have another question. how to control the year to start with 19 rather than 20
for example if the user enters 101138, then i want it to be 10/11/1938 rather than 20/11/2038
Edited by: user10438627 on Feb 10, 2011 9:36 AM -
BAM Combo Chart showing data in 2 graphics for the same data object
Hi all,
I’m trying to show 2 views of the same data object in a Combo Chart (e.g. orders created today as a bar chart and orders created yesterday as line chart grouping by hour of day). It was pretty easy adding the same data object twice but the data type of the horizontal axis seems to be lost and it gets sorted as a simple string, leading to strange grouping of the hours with 05:00 representing 5 AM sided with 05:00 representing 5 PM. Also, I’m not able to format such fields using the format values tab.
Is using the same data object two times in the same report an unsupported scenario?
Thanks,
Danielwhy you want to add the same data object twice? Your use case can be achieved with single data object only.
1) Create combo chart and select the data object.
2) On "Choose data fields" page group by datetime field.
3) You will see UI changed to 3 sections - left one with "Group by" section, middle with "Chart values" and right one with "Time Groups".
4) In the right "Time Group" section, uncheck checkbox for continuous time series. Time Unit as hour, quantity as 1.
5) In middle "Chart values" section ,select the fields that you want to display as chart values and respective chart types , in your case orders created today as a bar chart and orders created yesterday as line chart.
5) Click Next and Finish.
6) Then you can go to Value format tab, and change the format for the datetime field as timeunit and required format. -
OC4J: marshalling does not recreate the same data structure onthe client
Hi guys,
I am trying to use OC4J as an EJB container and have come across the following problem, which looks like a bug.
I have a value object method that returns an instance of ArrayList with references to other value objects of the same class. The value objects have references to other value objects. When this structure is marshalled across the network, we expect it to be recreated as is but that does not happen and instead objects get duplicated.
Suppose we have 2 value objects: ValueObject1 and ValueObject2. ValueObject1 references ValueObject2 via its private field and the ValueObject2 references ValueObject1. Both value objects are returned by our method in an ArrayList structure. Here is how it will look like (number after @ represents an address in memory):
Object[0] = com.cramer.test.SomeVO@1
Object[0].getValueObject[0] = com.cramer.test.SomeVO@2
Object[1] = com.cramer.test.SomeVO@2
Object[1].getValueObject[0] = com.cramer.test.SomeVO@1
We would expect to see the same (except exact addresses) after marshalling. Here is what we get instead:
Object[0] = com.cramer.test.SomeVO@1
Object[0].getValueObject[0] = com.cramer.test.SomeVO@2
Object[1] = com.cramer.test.SomeVO@3
Object[1].getValueObject[0] = com.cramer.test.SomeVO@4
It can be seen that objects get unnecessarily duplicated â“ the instance of the ValueObject1 referenced by the ValueObject2 is not the same now as the instance that is referenced by the ArrayList instance.
This does not only break referential integrity, structure and consistency of the data but dramatically increases the amount of information sent across the network. The problem was discovered when we found that a relatively small but complicated structure that gets serialized into a 142kb file requires about 20Mb of network communication. All this extra info is duplicated object instances.
I have created a small test case to demonstrate the problem and let you reproduce it.
Here is RMITestBean.java:
package com.cramer.test;
import javax.ejb.EJBObject;
import java.util.*;
public interface RMITestBean extends EJBObject
public ArrayList getSomeData(int testSize) throws java.rmi.RemoteException;
public byte[] getSomeDataInBytes(int testSize) throws java.rmi.RemoteException;
Here is RMITestBeanBean.java:
package com.cramer.test;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
import java.util.*;
public class RMITestBeanBean implements SessionBean
private SessionContext context;
SomeVO someVO;
public void ejbCreate()
someVO = new SomeVO(0);
public void ejbActivate()
public void ejbPassivate()
public void ejbRemove()
public void setSessionContext(SessionContext ctx)
this.context = ctx;
public byte[] getSomeDataInBytes(int testSize)
ArrayList someData = getSomeData(testSize);
try {
java.io.ByteArrayOutputStream byteOutputStream = new java.io.ByteArrayOutputStream();
java.io.ObjectOutputStream objectOutputStream = new java.io.ObjectOutputStream(byteOutputStream);
objectOutputStream.writeObject(someData);
objectOutputStream.flush();
System.out.println(" serialised output size: "+byteOutputStream.size());
byte[] bytes = byteOutputStream.toByteArray();
objectOutputStream.close();
byteOutputStream.close();
return bytes;
} catch (Exception e) {
System.out.println("Serialisation failed: "+e.getMessage());
return null;
public ArrayList getSomeData(int testSize)
// Create array of objects
ArrayList someData = new ArrayList();
for (int i=0; i<testSize; i++)
someData.add(new SomeVO(i));
// Interlink all the objects
for (int i=0; i<someData.size()-1; i++)
for (int j=i+1; j<someData.size(); j++)
((SomeVO)someData.get(i)).addValueObject((SomeVO)someData.get(j));
((SomeVO)someData.get(j)).addValueObject((SomeVO)someData.get(i));
// print out the data structure
System.out.println("Data:");
for (int i = 0; i<someData.size(); i++)
SomeVO tmp = (SomeVO)someData.get(i);
System.out.println("Object["+Integer.toString(i)+"] = "+tmp);
System.out.println("Object["+Integer.toString(i)+"]'s some number = "+tmp.getSomeNumber());
for (int j = 0; j<tmp.getValueObjectCount(); j++)
SomeVO tmp2 = tmp.getValueObject(j);
System.out.println(" getValueObject["+Integer.toString(j)+"] = "+tmp2);
System.out.println(" getValueObject["+Integer.toString(j)+"]'s some number = "+tmp2.getSomeNumber());
// Check the serialised size of the structure
try {
java.io.ByteArrayOutputStream byteOutputStream = new java.io.ByteArrayOutputStream();
java.io.ObjectOutputStream objectOutputStream = new java.io.ObjectOutputStream(byteOutputStream);
objectOutputStream.writeObject(someData);
objectOutputStream.flush();
System.out.println("Serialised output size: "+byteOutputStream.size());
objectOutputStream.close();
byteOutputStream.close();
} catch (Exception e) {
System.out.println("Serialisation failed: "+e.getMessage());
return someData;
Here is RMITestBeanHome:
package com.cramer.test;
import javax.ejb.EJBHome;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
public interface RMITestBeanHome extends EJBHome
RMITestBean create() throws RemoteException, CreateException;
Here is ejb-jar.xml:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<session>
<description>Session Bean ( Stateful )</description>
<display-name>RMITestBean</display-name>
<ejb-name>RMITestBean</ejb-name>
<home>com.cramer.test.RMITestBeanHome</home>
<remote>com.cramer.test.RMITestBean</remote>
<ejb-class>com.cramer.test.RMITestBeanBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
And finally the application that tests the bean:
package com.cramer.test;
import java.util.*;
import javax.rmi.*;
import javax.naming.*;
public class RMITestApplication
final static boolean HARDCODE_SERIALISATION = false;
final static int TEST_SIZE = 2;
public static void main(String[] args)
Hashtable props = new Hashtable();
props.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
props.put(Context.PROVIDER_URL, "ormi://lil8m:23792/alexei");
props.put(Context.SECURITY_PRINCIPAL, "admin");
props.put(Context.SECURITY_CREDENTIALS, "admin");
try {
// Get the JNDI initial context
InitialContext ctx = new InitialContext(props);
NamingEnumeration list = ctx.list("comp/env/ejb");
// Get a reference to the Home Object which we use to create the EJB Object
Object objJNDI = ctx.lookup("comp/env/ejb/RMITestBean");
// Now cast it to an InventoryHome object
RMITestBeanHome testBeanHome = (RMITestBeanHome)PortableRemoteObject.narrow(objJNDI,RMITestBeanHome.class);
// Create the Inventory remote interface
RMITestBean testBean = testBeanHome.create();
ArrayList someData = null;
if (!HARDCODE_SERIALISATION)
// ############################### Alternative 1 ##############################
// ## This relies on marshalling serialisation ##
someData = testBean.getSomeData(TEST_SIZE);
// ############################ End of Alternative 1 ##########################
} else
// ############################### Alternative 2 ##############################
// ## This gets a serialised byte stream and de-serialises it ##
byte[] bytes = testBean.getSomeDataInBytes(TEST_SIZE);
try {
java.io.ByteArrayInputStream byteInputStream = new java.io.ByteArrayInputStream(bytes);
java.io.ObjectInputStream objectInputStream = new java.io.ObjectInputStream(byteInputStream);
someData = (ArrayList)objectInputStream.readObject();
objectInputStream.close();
byteInputStream.close();
} catch (Exception e) {
System.out.println("Serialisation failed: "+e.getMessage());
// ############################ End of Alternative 2 ##########################
// Print out the data structure
System.out.println("Data:");
for (int i = 0; i<someData.size(); i++)
SomeVO tmp = (SomeVO)someData.get(i);
System.out.println("Object["+Integer.toString(i)+"] = "+tmp);
System.out.println("Object["+Integer.toString(i)+"]'s some number = "+tmp.getSomeNumber());
for (int j = 0; j<tmp.getValueObjectCount(); j++)
SomeVO tmp2 = tmp.getValueObject(j);
System.out.println(" getValueObject["+Integer.toString(j)+"] = "+tmp2);
System.out.println(" getValueObject["+Integer.toString(j)+"]'s some number = "+tmp2.getSomeNumber());
// Print out the size of the serialised structure
try {
java.io.ByteArrayOutputStream byteOutputStream = new java.io.ByteArrayOutputStream();
java.io.ObjectOutputStream objectOutputStream = new java.io.ObjectOutputStream(byteOutputStream);
objectOutputStream.writeObject(someData);
objectOutputStream.flush();
System.out.println("Serialised output size: "+byteOutputStream.size());
objectOutputStream.close();
byteOutputStream.close();
} catch (Exception e) {
System.out.println("Serialisation failed: "+e.getMessage());
catch(Exception ex){
ex.printStackTrace(System.out);
The parameters you might be interested in playing with are HARDCODE_SERIALISATION and TEST_SIZE defined at the beginning of RMITestApplication.java. The HARDCODE_SERIALISATION is a flag that specifies whether Java serialisation should be used to pass the data across or we should rely on OC4J marshalling. TEST_SIZE defines the size of the object graph and the ArrayList structure. The bigger this size is the more dramatic effect you get from data duplication.
The test case outputs the structure both on the server and on the client and prints out the size of the serialised structure. That gives us sufficient comparison, as both structure and its size should be the same on the client and on the server.
The test case also demonstrates that the problem is specific to OC4J. The standard Java serialisation does not suffer the same flaw. However using the standard serialisation the way I did in the test case code is generally unacceptable as it breaks the transparency benefit and complicates interfaces.
To run the test case:
1) Modify provider URL parameter value on line 15 of the RMITestApplication.java for your environment.
2) Deploy the bean to the server.
4) Run RMITestApplication on a client PC.
5) Compare the outputs on the server and on the client.
I hope someone can reproduce the problem and give their opinion, and possibly point to the solution if there is one at the moment.
Cheers,
AlexeiHi,
Eugene, wrong end user recovery. Alexey is referring to client desktop end user recovery which is entirely different.
Alexy - As noted in the previous post:
http://social.technet.microsoft.com/Forums/en-US/bc67c597-4379-4a8d-a5e0-cd4b26c85d91/dpm-2012-still-requires-put-end-users-into-local-admin-groups-for-the-purpose-of-end-user-data?forum=dataprotectionmanager
Each recovery point has users permisions tied to it, so it's not possible to retroacively give the users permissions. Implement the below and going forward all users can restore their own files.
This is a hands off solution to allow all users that use a machine to be able to restore their own files.
1) Make these two cmd files and save them in c:\temp
2) Using windows scheduler – schedule addperms.cmd to run daily – any new users that log onto the machine will automatically be able to restore their own files.
<addperms.cmd>
Cmd.exe /v /c c:\temp\addreg.cmd
<addreg.cmd>
set users=
echo Windows Registry Editor Version 5.00>c:\temp\perms.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Data Protection Manager\Agent\ClientProtection]>>c:\temp\perms.reg
FOR /F "Tokens=*" %%n IN ('dir c:\users\*. /b') do set users=!users!%Userdomain%\\%%n,
echo "ClientOwners"=^"%users%%Userdomain%\\bogususer^">>c:\temp\perms.reg
REG IMPORT c:\temp\perms.reg
Del c:\temp\perms.reg
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights. -
Multiple repeating SubForms binding to the same data node
Having multiple repeating SubForms binding to the same data node : In our documents, many times we need to display information from same table in multiple locations. For example, if document displays information of Insureds on one page and information of drivers on another page, we need to create a LiveCycle document with two SubForms. Each SubForm needs to have a repeating binding to CommonInsured element in XSD. LiveCycle Designer is not able to handle such case. We cannot have two subforms bound to the same node, ONLY in a case where repeating option is selected for data binding.
The only way I have found out is the following Javascript
//Get the data node from XML. You will find the code for this function in //JavaHelperFunctions library.
// InsuredDataRepeatingSubForm is a second subform.
//You need to manually add instances to this subform at the
//runtime and Insured data to each instance.
var insuArray = JavaHelperFunctions.getInsureds();
var i=0;
for( i=0; i<insuArray.length; i++)
if (i>0)
var thesubform = this.InsuredDataRepeatingSubForm.instanceManager.addInstance(i);
thesubform.InsuredName.rawValue = insuArray[i].fullName.value;
else
this.InsuredDataRepeatingSubForm.InsuredName.rawValue = insuArray[i].fullName.value;
Is there any way I can achieve directly using bindings since we are trying to minimize javascript that changes the layout of the form?
Thanks in advance!Unfortunately not. I've spent countless hours/days trying to do the same thing. You have to use code. The form consumes all the data it can into the repeating elements until there is none left and it is not reused.
Here's a function I wrote just for that purpose. Feel free to use it:
function loadData(source,target){
target.setInstances(source.count);//set the target's subform instances to match the source's
for (var a=0;a<source.count;a++){//loop through each subform instance
var sourceSubform=source.resolveNode(source.name.substr(1)).all.item(a);
var targetSubform=target.resolveNode(target.name.substr(1)).all.item(a);
for (var b=0;b<sourceSubform.nodes.length;b++){//loop through the children of each
if (sourceSubform.nodes.item(b).className=="field" && targetSubform.resolveNode(sourceSubform.nodes.item(b).name)!=null)//check for matching fields
if (typeof(targetSubform.resolveNode(sourceSubform.nodes.item(b).name).value.exData)=="undefined" ||
typeof(targetSubform.resolveNode(sourceSubform.nodes.item(b).name).value.exData.body)=="undefined")
targetSubform.resolveNode(sourceSubform.nodes.item(b).name).rawValue=sourceSubform.nodes.item(b).rawValue;
else
targetSubform.resolveNode(sourceSubform.nodes.item(b).name).value.exData.loadXML(sourceSubform.nodes.item(b).value.exData.saveXML(),1,1);
if (sourceSubform.nodes.item(b).className=="instanceManager" && targetSubform.resolveNode(sourceSubform.nodes.item(b).name)!=null)//check for matching subforms
loadData(sourceSubform.nodes.item(b),targetSubform.resolveNode(sourceSubform.nodes.item(b).name));
Just make sure the source and target subform hierarchies are identifal, same name and all. It will recurse down the tree and transfer source fields (rich text and plain) to their sister targets.
Kyle
Maybe you are looking for
-
Form button does not work when a program is moved from Windows 8.2 to Windows 7
Hi, I have a few Excel programs which use the ODBC to get data from Access and which have macros which writes data to an external program, MYOB. When the macros tries to write the data to MYOB it fails if I am not running the program in administrator
-
Global error handlers in AIR/HTML
Dear Adobe, there is good article on flobal error handling in Flex and AIR 2.0: http://www.adobe.com/devnet/flex/articles/global-exception-handling.html Is there a global javascript exception handling mechanism in AIR/HTML? window.onerror does not wo
-
Changing fontsize of fieldnames in ALV ?
and some other questions 1 ) Is it possible to change the fieldnames in an alv report. we have for instance 24 fields for 2 years the fieldname is 01-2007 till 12-2006 only the width of the field is larger then the amount of hours filled in. with pri
-
Hello, Can some one help me understand what i could be missing We are on 12.1.3 In the importer setup for Standard PO, I have defined 1. Group has been defined 2. Attribute mapping has been defined 3. Concurrent program is set to - Synchronous call t
-
hiiiiiiiiiii program to perform arithmetic operation in java by checking precedence i have a doubt can anyone clear that using java i have got the elements using an String array and printed the array.. i should check each element in the array for pre