[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2705.0. "GPC usage questions" by CSOA1::LENNIG (Dave (N8JCX), MIG, Cincinnati) Wed May 12 1993 16:04

    I just decided to try out GPC in order to move a number of mail
    messages and documents into a notes conference. After a few 
    experiments, I have two questions/problems...
    
    1) I posted a reply to a note (using a mail message from another
    folder); I read the note (looks fine); I attempt to delete my note;
    Fails with a message saying I'm not the author of the note. Huh!?
    
    2) I like the ease with which I can put an existing document from my
    file cabinet into the notesfile. However, I am puzzled/surprised that
    the note doesn't inherit the document title/mail message subject, nor
    do I see any way to make this happen. Am I missing something??
    
    Thanks,
    	Dave
T.RTitleUserPersonal
Name
DateLines
2705.1IOSG::MAURICENight rolls in, my dark companionWed May 12 1993 17:4211
    Hi,
    
    I couldn't reproduce the first problem. What version are you running?
    
    The note title is taken from the first screen of a CT (create topic). I
    think it would be better if it tested for this being blank, and if so
    taking the document title as the note title. 
    
    Cheers
    
    Stuart
2705.2CSOA1::LENNIGDave (N8JCX), MIG, CincinnatiWed May 12 1993 18:4911
    It's an MTS machine - ANA/IMA of OA$IMAGE gives me "ALL-IN-1 V3.0-1"
    
    The Author field displayed CSOA1::LENNIG + my notes personal name
    FYI - my IOS username is "lennig.dave"
    
    Actually your suggested behaviour is what I was expecting; I left the
    note title field blank thinking it would pick up the document title.
    
    note however, I was doing a reply, not a create topic.
    
    	Dave
2705.3CSOA1::LENNIGDave (N8JCX), MIG, CincinnatiWed May 12 1993 19:1122
Well, this is very wierd...

I just tried the same thing in this conference (as a reply to this note) 
that filed in my other conference - and it worked!

So, trying to think what might be differant, I realized I was moderator of 
the conference I had problems with before (I had ended up using MD to 
delete my "problem" reply), so I went to another conference I am a moderator 
of, and tried the same thing, and it worked!

Being thoroughly confused at this point, I went back to the original 
conference, added a reply and then tried to delete it - and it worked!?

Gremlins - oh well...

Any suggestions on the title question? I'm going to be moving a fair amount 
of stuff, and it would be really nice if the doc titles propogated...

	Dave

PS - Actually, what would be even neater is if I could tell IOS to move 
an entire folder to a note - each document = a seperate reply...
2705.4CSOA1::LENNIGDave (N8JCX), MIG, CincinnatiWed May 12 1993 20:0517
    Hmmm. After having just read 2706 (interesting timing, eh?), I now
    wonder if "moderation" _does_ have something to do with it...
    
    To be as detailed as possible, the _session_ when I had the problem:
    
    I opened the remote confernece
    Read some notes
    Used MD to delete two replies posted by someone else
    Posted a reply to the same note, using something from a folder
    (I saw the reply didn't pick up the document title, and)
    I tried to delete my reply, getting the error message
    I then used MD to delete my reply.
    
    Someplace in there I also did a SWC under GPC, but I don't remember
    where it was in the sequence - I think it was before all the above.
    
    	Dave
2705.5A possibility!AIMTEC::BUTLER_TWed May 12 1993 20:2510
    Dave,
    
    This may be related.  There was a problem with MDN reported for
    V3.0 and a patch.
    
    The stars article : *GPC: MDN Option Does Not Work Properly , should
    give you more info.
    
    Tim
    
2705.6CSOA1::LENNIGDave (N8JCX), MIG, CincinnatiWed May 12 1993 20:3310
    Well, I don't have access to Stars, so unless you want to send me a
    copy, I'm outa luck. However, unless the title of the article is not
    accurate, it doesn't _sound_ the same. That is, I didn't have any
    problems with MDN, it was just plain old "D" (after doing MDN and RE)
    that didn't work.
    
    	Dave
    
    Should I start a seperate topic on my title question? The delete thing
    isn't preventing me from working - having to reenter all my titles is.
2705.7Customisation for title problemIOSG::MAURICENight rolls in, my dark companionThu May 13 1993 09:4328
    HI,
    
    If you want to try a customisation then here is a little solution to
    your title problem. You need to customise OAN$WRITE.SCP as follows:
    
    1. After the LABEL GOT_SOMETHING there is a CABINET SELECT call. After
       the CABINET SELECT call add the line:
    
    	GET #OAN_TITLE = OA$CURDOC_TITLE
    
    
    2. After the LABEL FILE_BEING_EDITED there is a line which is:
    
    	GET #OAN_TITLE  = #OAN_NOTE_TITLE
    
    	Replace this line with:
    
    	.IF #OAN_NOTE_TITLE EQS "" THEN GET #OAN_NOTE_TITLE = #OAN_TITLE
    
    
    3. After the LABEL KEEP_ON_WRITING there is an OA$FAO call. After the
       OA$FAO call add the line:
    
    	.IF #OAN_NOTE_TITLE EQS "" THEN GET #OAN_NOTE_TITLE = #OAN_TITLE
    
    HTH
    
    Stuart
2705.8CSOA1::LENNIGDave (N8JCX), MIG, CincinnatiThu May 13 1993 14:026
    I'm trying to remember my IOS customization rules - this is an MTS
    system, so it isn't trivial to get them to make a change. Do I remember
    correctly that if I place a copy of the modified script in my personal
    area that it will get used in preference to the normal one?
    
    	Dave
2705.9oa$file_search_order and oa$txl_search_orderAIMTEC::BUTLER_TThu May 13 1993 15:0418
    Dave,
    
    Re: .6
    
    I sent you a copy.  My reasoning (good or bad) was that this patch
    had to do with moderator privileges and a patch for those problems.
    
    If I am getting this confused with the next note, tell me so, and
    I will go talk to our DPC about TM.
    
    Re: -1
    
    I don't know what MTS might be doing but, using CM as a programmer
    type you can move a copy to develop (for you).
    
    HTH,
    
    Tim
2705.10CSOA1::LENNIGDave (N8JCX), MIG, CincinnatiFri May 14 1993 15:5110
    I'm not authorized for CM.
    
    I copied OAN$WRITE.SCP from a neighboring V3.0 system, applied the
    suggested changes, and placed a copy in my oauser area.
    
    Went into GPC and tried again, with no change. Did your reference to 
    "oa$file_search_order and oa$txl_search_order" mean that it should 
    have found/used my modified script file?
    
    	Dave
2705.11put oauser in oa$file_search_orderMIMS::BUTLER_TFri May 14 1993 18:5114
    Dave,
    
    Got your message.  
    
    re. -1
    
    Look on page 5-14 of Volumne 1, ALL-IN-1 Application Programming.  This
    is the search order ALL-IN-1 would use for the script.  5-37 explains
    the txl search order.
    
    For you, you would set oa$file_search_order to point to your directory
    first, then set oa$txl_search_order to 1.
    
    Tim
2705.12CSOA1::LENNIGDave (N8JCX), MIG, CincinnatiFri May 14 1993 21:4613
    Thanks - I dug up a CD with the V2.4 docs on it, and found the info you
    were referencing. Of course, My DIS/MTS machine doesn't give me access 
    to CM, nor can I execute functions interactively. However, they do allow 
    access to the sub-process...
    
    After a little poking around, I determined that my oa$file_search_order 
    was "[],OA$LIB", and set oa$txl_search_order to 1.
    
    Went into GPC (with the modified script in "[]"), added a reply with a 
    doc from my file cabinet, and Eureka! it has the right title.
    
    Many thanks,
    	Dave