During import, how to auto split one project into multiple albums based on date?
I believe I've done enough aperture reserach to get all my terminology right, so here goes...
I've created a file structure within the aperture inspector the the tune of:
Year [folder], Type of event (Occasion, special occasion, holiday, vacation) [folder], Project (Wedding), Album (i.e. Day 1, Day 2 or Pre wedding week, event, honeymoon).
I also have entire months with 7 or 8 pictures each day, that are of the same type/project (random dog pictures) but are distinctly different days (albums - day in park, in bed at night, watching movie).
My question is, can I import one project with multiple albums already created based on the date they're taken. As I can see it, all I can do is split individual projects automatically by date. But what if one project is over one month, but has multiple distinct days that would be ideal for albums? One more example. We did a trip to San Fran. One day was touring the city, one day was a concert, another day was touring the city. All one project, but 3 different albums (in my mind). I had to import as one project, then separately go in and make albums. I would like that done automatically.
My suspicion is that I can not natively do this within aperture, and that I would need something called an "applescript." I haven't done any reserach into that area, so if that's the case and you know where I can find a script that would do this, I'd appreciate the help.
Sorry for the wordiness, just wanted to be clear. Thanks for any and all help!
Hi,
You need to create a new requirement in tcode VOFM for that, together with your ABAP consultant. This requirement will be used in copy contol.
http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
MdZ
Similar Messages
-
How can I separate one column into multiple column?
How can I separate one column into multiple column?
This is what I have:
BUYER_ID ATTRIBUTE_NAME ATTRIBUTE_VALUE
0001 PHONE_NUMBER 555-555-0001
0001 EMAIL [email protected]
0001 CURRENCY USD
0002 PHONE_NUMBER 555-555-0002
0002 EMAIL [email protected]
0002 CURRENCY USD
0003 PHONE_NUMBER 555-555-0003
0003 EMAIL [email protected]
0003 CURRENCY CAD
This is what I would like to have:
BUYER_ID PHONE_NUMBER EMAIL CURRENCY
0001 555-555-0001 [email protected] USD
0002 555-555-0002 [email protected] USD
0003 555-555-0003 [email protected] CAD
Any help would be greatly appreciated.This is another solution. Suppose your actual table's name is test(which has the redundant data). create a table like this:
CREATE TABLE test2 (BUYER_ID number(10),PHONE_NUMBER varchar2(50),EMAIL varchar2(50),CURRENCY varchar2(50));
then you will type this procedure:
declare
phone_number_v varchar2(50);
EMAIL_v varchar2(50);
CURRENCY_v varchar2(50);
cursor my_test is select * from test;
begin
for my_test_curs in my_test loop
select ATTRIBUTE_VALUE INTO phone_number_v from test
where person_id=my_test_curs.person_id
and attribute_name ='PHONE_NUMBER';
select ATTRIBUTE_VALUE INTO EMAIL_v from test
where person_id=my_test_curs.person_id
and attribute_name ='EMAIL';
select ATTRIBUTE_VALUE INTO CURRENCY_v from test
where person_id=my_test_curs.person_id
and attribute_name ='CURRENCY';
INSERT INTO test2
VALUES (my_test_curs.person_id,phone_number_v,EMAIL_v,CURRENCY_v);
END LOOP;
END;
Then you will create your final table like this:
create table final_table as select * from test2 where 1=2;
After that write this code:
INSERT ALL
into final_table
SELECT DISTINCT(BUYER_ID),PHONE_NUMBER,EMAIL,CURRENCY
FROM TEST2;
If you have a huge amount of data in your original table this solution may take a long time to do what you need. -
How to Split 1 Order into Multiple Deliveries based on Partner Function ?
Hello,
How can I split one Sales Order into multiple deliveries, based on the partner function "managed by" ?
The requirement is that one order will be created for different "managed by".
If partner function "managed by" is same at line item level in order, than the items having same "managed by" can be combined in one delivery, else delivery will split and multiple deliveries will be created from 1 Order.
Jatin MistryHi,
You need to create a new requirement in tcode VOFM for that, together with your ABAP consultant. This requirement will be used in copy contol.
http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
MdZ -
Split single row in multiple rows based on date range
I need sql script that can split single row in multiple rows based on start date and end date column in table.
Thank youI agree to your suggestion of having a dates table permanently in the database. Thats how we also do for most of our projects as well
But in most projects the ownership of table creation etc lies with the client as they will be the DBAs and will be design approval authorities. What I've seen is the fact that though
many of them are in favour of having calendar table they dont generally prefer having a permanent table for numbers in the db. The best that they would agree is for creating a UDF which will have
tally table functionality built into it based on a number range and can be used in cases where we need to multiply records as above.
Wherever we have the freedom of doing design then I would also prefer creating it as a permanent table with required indexes as you suggested.
>> many of them are in favour of having calendar table they dont generally prefer having a permanent table
Those people do not understand about database and are not DBAs :-)
It is our job to tell them what is right or wrong.
** This is a real story! I had a client several years back, who was the CEO of a software company.
He use the query:
select * from table_name
In order to get the last ID!
The table_name was actually a view that took data from several tables, and the main table that he wanted to get the ID included several string columns, with lot of data!
he actually pulled all this data to the application, just to get the lat ID in a specific table!
It is our job as Consultants or DBAs to fix's his misunderstanding :-)
Ronen Ariely
[Personal Site] [Blog] [Facebook] -
Breaking up one project into multiple projects
I have a question that I hope can be answered (Using Captivate 5.5).
I have a seemingly large project now (433 slides with no quizzes added at this point) that is broken down as follows:
There are 9 chapters. The first is a quick "how to" which has a menu that links to the 8 chapters. All the chapters are accessed by the "jump to page" link with buttons i created at the top, a home button that links back to the main menu buttons, and each chapter contains 4 sub-chapters.
When this whole deal started, I was told it would just be a run through start to finish in one day with a quiz at the end, but now I am told they like the individual chapters so much that they want chapters with their own quiz and summary and they want it to be able to be "bookmarked" so that they can work at it in half hour sections over the course of a few days.
The down side is I'm pretty much done the whole thing as one project file. I have looked into how to break it up, or how to just have various quizzes (more importantly quiz summary for each chapter that stops the user from proceeding to the next chapter until complete) within one project but its clear that I need to break it up and have 9 .exe files (.exe being the requested format) in the end all linked to one another. The problem I have is that I have no idea how to go about this.
Anyone with any ideas for me? Please?
Thank you once again!Thanks Anjaneai,
This was pretty much much idea as well and I think it makes the most sense.
There is really only one page in each module that links back to the main page so it shouldn't take too long to implement.
The only question I have is with something like this where I will essentially have a breakdown of one "main" exe that links to the 8 other chapters, how do I go about saving these? Is there something that I need to do (ie file structure or a certain click box during the export)? Do I just export/publish each of them as their own exe and Captivate is smart enough to recognize this?
Right now what my vision is of this is that I would publish all 9 exe's into one directory where the main exe is in the root and the other exe's are in their own directories so that when the file is sent, unzipped, it will only show the one exe to click on so it isn't confusing to the end users. -
Split one row into multiple columns
Hi,
Data in one CLOB column in a table storing with delimiter, ##~~##. Ex. ##~~##abc##~~##defgh##~~##ijklm##~~##nopqr (data starts with delimiter). Please help me to split the data into multiple rows like below and it should be in the same order.
abc
defgh
ijklm
nopqr
I am using Oracle 11g.
Thanks.Thanks Hoek for your response. Before posting my question in the forum, I tried similar query. It is working with one character as delimiter.
with test as (select 'ABC,DEF,GHI,JKL,MNO' str from dual )
select regexp_substr (str, '[^,]+', 1, rownum) split
from test
connect by level <= length (regexp_replace (str, '[^,]+')) + 1;
Above query is giving correct result by fetching 5 rows. I have modified the query like below...
with test as (select 'ABC,,,DEF,,,GHI,,,JKL,,,MNO' str from dual )
select regexp_substr (str, '[^,,,]+', 1, rownum) split
from test
connect by level <= length (regexp_replace (str, '[^,,,]+')) + 1;
Above query resulting 13 rows and last 8 rows are nulls. Number of null rows are increasing, if I increase number of characters in delimiter. Could you please tell me how to avoid those null rows.
Thanks. -
Split one record into multiple records in Update Rules
Hello All,
I am trying to split a single record from R/3 into 2 records.
My data flow is form R/3 > PSA > ODS > Cube
when loading data into ODS i have to add the original record as it is to ODS. For second record i have to check a condition, & change few keyfigure values to 0 and fill an extra field.
Example:
Record in R/3 :
Month | %1 | %2 | %3 | % 4 | ORGUNIT | JOB| EMPLOYEE| POSITION|
02.2006 | 0 | 1 | 0 | 0 | 3000000| 248 | 2546352 | 500000 |
Record in BW Comm_Structure.
In Transfer rules i m writing an extra field to the R/3 record.
Month | %1 | %2 | %3 | % 4 | ORGUNIT | JOB| EMPLOYEE| POSITION| NEW_FIELD |
02.2006 | 0 | 1 | 0 | 0 | 3000000| 248 | 2546352 | 500000 | 2546352 |
NEW_FIELD transfer routine :
If employee NE 0
Result = employee
else.
Result = 0 .
Till this point everything works fine.
Now i want to load this record into an ODS. I want to split the above single record into 2 records.
Records in ODS should be :
Month | %1 | %2 | %3 | % 4 | ORGUNIT | JOB| EMPLOYEE| POSITION| NEW_FIELD |
02.2006 | 0 | 1 | 0 | 0 | 3000000| 248 | 2546352 | 500000 | 0 |
02.2006 | 0 | 0 | 0 | 0 | 3000000| 248 | 2546352 | 500000 | 2546352 |
Condition for NEW_FIELD.
For first record always NEW_FIELD =0.
For Second Record
If NEW_FIELD NE 0.
Cahnge KF's %1, %2, %3, %4 = 0.
If EMPLOYEE is 0 then no need to create extra record.
I tried to use achieve this using return table, but no success.
Can any one help me with ABAP syntax please. I am bit weak in ABAP Programming.
Thanks in advance.
POPSDear:
You could do so in update routines. Select the 'return table' option.
useful links:
https://forums.sdn.sap.com/click.jspa?searchID=10118555&messageID=2906656
https://forums.sdn.sap.com/click.jspa?searchID=10118555&messageID=913873
https://forums.sdn.sap.com/click.jspa?searchID=10118555&messageID=2441579
Thanks -
How to auto split existing projects in Aperture 3?
Hi, I would like to batch split my existing projects in aperture 3 (latest version) so they're all split with one date of pictures in them, and I would also really like to name all of them by the date that the pictures were taken. Like for example, I have an album that's named "Album 1" and it has dates from July 24th-August 17, and I would like to have an individual album or project for every date, and also for the new split albums to be named by the date of the photos inside of it. How do I do this? Thank you!
Hi,
Sorry, I can't help you there - I suspect it may be an Applescript job, but don't know Applescript myself.
Thinking about it some more, you could do it sort-of manually by first creating a new Project then searching all Projects for images falling within a set date range. You then select all the images returned by that search and drag them to your new Project. Rename the Project accordingly, and rinse, lather, repeat.
This approach will be viable only if you have a limited number of images across not too big a date range. Trying this on a big collection will do your head in.
I understand what you want to do now, but still don't understand why. -
How can I split one row to multiple rows
Table like this
CREATE TABLE T(ID NUMBER(12),START_DATE DATE,END_DATE DATE,ORDER_ID NUMBER(12),PROD_ID NUMBER(12));
data like this
ID START_DATE END_DATE ORDER_ID PROD_ID
1 2013-01-01 2013-03-31 12 123
2 2013-04-01 2013-06-30 12 123
3 2013-01-01 2013-05-30 12 234
4 2013-02-01 2013-04-30 13 123
5 2013-07-01 2013-09-30 13 345
I want the result like this
ID DIFF_DATE ORDER_ID PROD_ID
1 201301 12 123
2 201302 12 123
3 201303 12 123
4 201304 12 123
5 201305 12 123
6 201306 12 123
7 201301 12 234
8 201302 12 234
9 201303 12 234
10 201304 12 234
11 201305 12 234
12 201302 13 123
13 201303 13 123
14 201304 13 123
15 201307 13 345
16 201308 13 345
17 201309 13 345
how to write the sql ?
Edited by: 990390 on 2013-3-31 下午11:42SQL> WITH t(iD ,START_DATE ,END_DATE ,ORDER_ID ,PROD_ID) AS(
2 SELECT 1, to_date('2013-01-01','yyyy-mm-dd'), to_date('2013-03-31','yyyy-mm-dd'), 12, 123 FROM dual UNION ALL
3 SELECT 2, to_date('2013-04-01','yyyy-mm-dd'), to_date('2013-06-30','yyyy-mm-dd'), 12, 123 FROM dual UNION ALL
4 SELECT 3, to_date('2013-01-01','yyyy-mm-dd'), to_date('2013-05-30','yyyy-mm-dd'), 12, 234 FROM dual UNION ALL
5 SELECT 4, to_date('2013-02-01','yyyy-mm-dd'), to_date('2013-04-30','yyyy-mm-dd'), 13, 123 FROM dual UNION ALL
6 SELECT 5, to_date('2013-07-01','yyyy-mm-dd'), to_date('2013-09-30','yyyy-mm-dd'), 13, 345 FROM dual
7 )
8 SELECT add_months(MY_DATE , ROW_NUMBER() OVER(PARTITION BY Q.ORDER_ID, Q.PROD_ID ORDER BY ROWNUM)-1) ddate,
9 Q.ORDER_ID,
10 Q.PROD_ID
11 FROM (SELECT MIN(T.START_DATE) MY_DATE,
12 MAX(T.END_DATE),
13 MONTHS_BETWEEN(MAX(T.END_DATE),MIN(T.START_DATE))+1 CNT,
14 T.ORDER_ID,
15 T.PROD_ID
16 FROM t
17 GROUP BY T.ORDER_ID, T.PROD_ID) Q,
18 TABLE (SELECT COLLECT(ROWNUM) FROM DUAL CONNECT BY LEVEL <= Q.CNT)
19 ORDER BY Q.ORDER_ID, Q.PROD_ID
SQL> /
DDATE ORDER_ID PROD_ID
01.01.2013 12 123
01.02.2013 12 123
01.03.2013 12 123
01.04.2013 12 123
01.05.2013 12 123
01.06.2013 12 123
01.01.2013 12 234
01.02.2013 12 234
01.03.2013 12 234
01.04.2013 12 234
01.05.2013 12 234
01.02.2013 13 123
01.03.2013 13 123
01.04.2013 13 123
01.07.2013 13 345
01.08.2013 13 345
01.09.2013 13 345
17 rows selected
SQL> ----
Ramin Hashimzadeh
Edited by: Ramin Hashimzadeh on Apr 1, 2013 12:15 PM -
How do I add one event to multiple, but not repeating, dates
I routinely need to add single events to 10 to 20 dates at once. These dates rarely line up in a repeating sequence. For instance I may need to schedule "appointment with John at 1pm" on M,Tu this week; W,Thu,Fri next week; M,Thu the following week. And "appointment with Jane at 10am" on M this week; Tu next week; Thu the following week.
I know I can copy and paste identical text in one at a time on each date but this is tedious.
Is there an app or trick I can use to do this efficiently? Previously I used an old version of Calendar Creator in which I could create an event and then push a toggle switch on all the days across a month in which the event would reoccur.
Thanks! I'm new to Mac and iCal.Hello,
Welcome to Apple Discussions.
1. Make the first event in iCal when and how you want it.
2. If you are not in month view, switch to it.
3. Highlight the event in the calendar view and press Cmd-C (copy).
4. Click on the blank area on a day you want to copy to.
5. Press Cmd-V (paste).
6. Repeat steps 4-5 for all needed dates.
Best wishes
John M -
How can I seperate one string into multiple strings using PowerShell?
New to PowerShell...how can I read/separate parts of a file name? For instance if I have a file name like "part1_part2_part3_part4.xls", how to separate this file name to four different parts? So I basically want to go from that file name,
to four different strings like part1, part2, part3, and part4...as four separate strings. How can I get this done in PowerShell?
ThanksYou can try something like this
PS> (Get-ChildItem part1_part2_part3_part4.xls).BaseName.Split('_') -
How can I Make one column into Multiple columns
Id
SCM-01-015
SCM-01-020
SFA-02-021
SFC-02-042
STB-03-035
STP-04-167
SVF-06-150
I want the output like this
Id 01 02 03 04 06
SCM-01-015 5
SCM-01-020 10
SFA-02-021 15
SFC-02-042 15
STB-03-035 20
STP-04-167 50
SVF-06-150 5
thank you in advanceHi,
801668 wrote:
Id
SCM-01-015
SCM-01-020
SFA-02-021
SFC-02-042
STB-03-035
STP-04-167
SVF-06-150
I want the output like this
Id 01 02 03 04 06
SCM-01-015 5
SCM-01-020 10
SFA-02-021 15
SFC-02-042 15
STB-03-035 20
STP-04-167 50
SVF-06-150 5
thank you in advanceWhenever you post formatted text (such as query output) on this site, type these 6 characters:
\(small letters only, inside curly brackets) before and after formatted text, to preserve spacing.
Do you want output something like this, which is from the scott.emp table?ENAME ANALYST CLERK MANAGER PRESIDENT SALESMAN
ALLEN 1600
JONES 2975
FORD 3000
CLARK 2450
MILLER 1300
SMITH 800
WARD 1250
MARTIN 1250
SCOTT 3000
TURNER 1500
ADAMS 1100
BLAKE 2850
KING 5000
JAMES 950
(ALLEN is a SALESMAN, JONES is a MANAGER, ..., JAMES is a CLERK.)
If so, do a pivot, somehting like this:SELECT ename
, MIN (CASE WHEN job = 'ANALYST' THEN sal END) AS analyst
, MIN (CASE WHEN job = 'CLERK' THEN sal END) AS clerk
, MIN (CASE WHEN job = 'MANAGER' THEN sal END) AS manager
, MIN (CASE WHEN job = 'PRESIDENT' THEN sal END) AS president
, MIN (CASE WHEN job = 'SALESMAN' THEN sal END) AS salesman
FROM scott.emp
GROUP BY ename
Always say which version of Oracle you're using.
The query above will work in Oracle 8.1 or higher, but starting in Oracle 11 there's a better way: SELECT ... PIVOT. -
I am running IMovie 8.0.6. (OS X Mavericks 10.9.5) How do I split a project into two projects? When I share it in Media Browser to IDVD, and try to burn a DVD- RDL, it keeps telling me the project is too long. Do I split it in IDVD and how do I do that?
AppleMan Thanks very much for the information, however I could't make it work. I followed your instructions to the letter, in fact I tried every which-way. I created a dedicated file into which I copied and pasted the project from "package contents" but it was still greyed out when I went to retrieve it. I also found that the file size was reduced to only a few Kb. Any further step-by-step instructions would be appreciated as I am obviously doing something wrong. Babowa It appears that in imovie everything has to be "finalised" before it can be used or shared elsewhere in the same way as a disk has to be to be played elsewhere. Funnily enough an MOV file I converted to Mp4 was not greyed out and I was able to import it.... an exercise I am not keen on because of resolution loss during conversion
-
IDVD burning one project on multiple macs? where are project contents?
How do I burn one project on multiple macs? I have a idvd project I created in keynote, added music to it in Garageband, exported to quicktime, and now is in iDVD burning just fine. However I have tons of these dvd's to make, I would like to put all my mac's to work.
last night i tried to share the file, and it is just an alias when i drag it over from the macbook it was created on to my imac. the file says it is in use and locked, since the macbook that created it is burning it. If I wanted to brun on the imac, I had to wait until the macbook was done.
is there a way around this? What if I copied all files I used to make the idvd project to my imac or any computer i wanted to burn on? woudl it hen allow two macs to be burning the same project?
I figured I could do this just like on my PC, drag the file over and voila...no such luck, its like if i had dragged a shortcut over to another pc...if the first one is using the file, its locked. Basically how do i get to the actual contents of the project, so I can also bring them over and hopefully it will allow me to burn on multiple macs at the same time?
my next solution if that didn't work was to start copying dvd's using popcorn on the other macs while the macbook continues burning through idvd.
Any opinions on how i can duplicate a dvd fast...need alot of copies!Also as to where the files are.
I-DVD project bundle: This is the file created when you save the project.
• [user]/Library/iDVD/Favorites: This folder is located in your home folder.
• [root]/Library/iDVD/Favorites: This folder is located at the root of your disk.
• /Network/Library/iDVD/Favorites: This folder is on a network system specifically
configured by your system administrator for this purpose. (This is not the same as
having a server networked into your computer.) -
I have multiple libraries. I would like to import one project into another library. How?
Select the project in the Library Inspector and export the project as library. Then import this library into your other Aperture library.
File > Export > Project as New Library
File > Import > Library
Regards
Léonie
Maybe you are looking for
-
s there a separate download for iMac. I bought and downloaded what I thought was the right download but not working and feel it might be a windows version. How doe I get it right
-
Why can't I access the "webpage" and "bookmarks" tabs in Safari on my iPad2?
Sometimes when I'm using Safari, I can't access other webpages that I already have open. I click on the tab multiple times, but I stay on the current page. I also can't access any of my bookmarks (basically, none of the buttons next to the search bar
-
I am trying to add an email to my iphone. I am not savvy enough to do this with such vague instructions. I need a step by step instruction. Can you help me?
-
I have an RSA ACE sever and would liek to sue it for console port and VTY port access....DOES AAA support this and if so, what does the config look like...I have done it witH ACS, but would like to try it just going directly to the RSA securID server
-
The checker says that my postcode isn't served even though TRING is enabled and a friend of mine just up the road has got Infinity. The FAQ suggests that cabinet information is available from 29th September but the page with the link doesn't show any