Check for missing plugin while packaging a document

Hi All,
I used
InDesign.app.activeDocument.packageForPrint(packagePath , true , true , true , true , true , true , true , "" , true);
to package a document but in case of missing plugin it does not create the compltete package only a text file gets created.
Let me know how I could determine that document is opened with missing plugin so that I can show an alert message before proceeding with package.
Regards,
Alam

Hi,
Not directly but in case of missing plugin
doc has a name;
doc.saved == false;
doc.filePath throws an error;
maybe to play around with above could be a kind of solution...
Jarek

Similar Messages

  • Check for missing pages

    At work we are using a scanner with a feeder to digitalize many of our company documents. On the first manual check I found there to be a few missing pages. If there a way to automate the "missing page check". Can i write a script to check for missing pages. I am fairly new to acrobat and OCR, but I am knowledgeable in programming. Any help would be appreciated.

    The script as follows will give you the total number of pages in a document:
    console.println("There are " + this.numPages + " pages in this document");
    Also go the the following link for the Adobe Development Centre - Documentation and References - Acrobat 9.1 SDK Documentation
    There is a Javascript for API Reference which will give you some guidance.
    http://www.adobe.com/devnet/acrobat.html

  • How to check for updates on SCM packages?

    Hey guys,
    I wondered for some time now how to check for updates on SCM packages, i.e. -git
    or -svn ones. Updates for binary packages are automatically updated by pacman,
    no problem there. Checking for updates on non-SCM packages from the AUR is
    easily done with one of the various helper tools available (personally, I use
    slurpy).
    However, SCM packages can change without their PKGBUILD changing, so I'm not
    notified that I should recompile and update them.
    Is there a "proper" way of doing this? Am I missing something?
    Thanks in advance!

    If your system is booting then u can say that your bootblks are installed.Usually BootBlks are present in 0 & 1 slice of UFS Filesystem
    /usr/platform/platform-name/lib/fs/ufs
    directory where ufs boot objects reside.
    An x86 FDISK partition for the Solaris software begins with a one-cylinder boot slice, which contains the partition boot program (pboot) in the first sector, the standard Solaris disk label and volume table of contents (VTOC) in the second and third sectors, and the bootblk program in the fourth and subsequent sectors. When the FDISK partition for the Solaris software is the active partition, the master boot program (mboot) reads the partition boot program in the first sector into memory and jumps to it. It in turn reads the bootblk program into memory and jumps to it. Regardless of the type of the active partition, if the drive contains multiple FDISK partitions, the user is given the opportunity to reboot another partition.

  • Checking for business area while posting

    i have to check for business areas balancing during posting document
    eg., when we get interest income from a bank account under business area X it should be credited to an account with same business area X.
    Dr Bank - X
    Cr Interest income - Y
    this should not occur
    so user wants to get a error message when the business areas does not match.
    Can any one tell how this can be done?(does fi validations help in this?)

    Hi,
    YOu can do it by using the exits/BADIs available with your transaction. Inside the enhancement you can write the code for comare and message.
    What is the transaction you use for that? Try for Exits in trnsaction SMOD and BADIs in transaction SE18.
    Regards,
    Renjith Michael.

  • How to check for the sub folder in the document library Is already Exist using CSOM?

    Hi,
    My requirement is to create the  folder and sub folder in SharePoint document library. If already exist leave it or create the new folder and the subfolder in the Document library using client side object model
    I able to check for the parent folder.
    But cant able to check the subfolder in the document library.
    How to check for  the sub folder in the document library?
    Here is the code for the folder
    IsFolder alredy Exist.
    private
    string IsFolderExist(string InputFolderName)
    string retStatus = false.ToString();
    try
    ClientContext context =
    new ClientContext(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryLink"]));
                context.Credentials =
    CredentialCache.DefaultCredentials;
    List list = context.Web.Lists.GetByTitle(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryName"]));
    FieldCollection fields = list.Fields;
    CamlQuery camlQueryForItem =
    new CamlQuery();
                camlQueryForItem.ViewXml =
    string.Format(@"<View  Scope='RecursiveAll'>
    <Query>
                                            <Where>
    <Eq>
    <FieldRef Name='FileDirRef'/>
    <Value Type='Text'>{0}</Value>
                                                </Eq>
    </Where>
    </Query>
                                </View>",
    @"/sites/test/hcl/"
    + InputFolderName);
                Microsoft.SharePoint.Client.ListItemCollection listItems = list.GetItems(camlQueryForItem);
                context.Load(listItems);
                context.ExecuteQuery();
    if (listItems.Count > 0)
                    retStatus =
    true.ToString();
    else
                    retStatus =
    false.ToString();
    catch (Exception ex)
                retStatus =
    "X02";
    return retStatus;
    thanks
    Sundhar 

    Hi Sundhar,
    According to your description, you might want to check the existence of sub folder in a folder of a library using Client Object Model.
    Please take the code demo below for a try, it will check whether there is sub folder in a given folder:
    public static void createSubFolder(string siteUrl, string libName, string folderServerRelativeUrl)
    ClientContext clientContext = new ClientContext(siteUrl);
    List list = clientContext.Web.Lists.GetByTitle(libName);
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml =
    @"<View Scope='RecursiveAll'>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name='FSObjType' />
    <Value Type='Integer'>1</Value>
    </Eq>
    </Where>
    </Query>
    </View>";
    //camlQuery.FolderServerRelativeUrl = "/Lib1/folder1";
    camlQuery.FolderServerRelativeUrl = folderServerRelativeUrl;
    ListItemCollection items = list.GetItems(camlQuery);
    clientContext.Load(items);
    clientContext.ExecuteQuery();
    Console.WriteLine(items.Count);
    if (0 == items.Count)
    //create sub folder here
    Best regards
    Patrick Liang
    TechNet Community Support

  • ATP check for multiple materials on multiple sales document

    Hi,
    System 4.70
    Is it possible to carry out an ATP check for multiple materials on multiple sales documents.
    I have written a bespoke program and the program requires an ATP check to be performed for each material and sales document, I am currently using BAPI_MATERIAL_AVAILABILITY which is bringing back the necessary information but it's a bit slow.
    Does any one have any ideas please.
    Regards
    J-J

    The ATP Check using the BAPI is done per material and plant. If you're looping through sales documents and then materials you're probably doing the ATP check for the same material over and over again.
    Just get the list of materials you need and the corresponding plants and call the BAPI for each of them.
    Also do a run-time analysis (tcode SE30) to check exactly what slows down your program.
    regards.

  • Message for Missing Parts  While Creating Order

    Dear Friends,
    While Creating & Saving The Production Order System Is Not Supporting In Giving A Warning Massage On Missing Parts In spite Of Deficit In Storage Location For Materials.
    The Clint Requires A Warning Massage In Case Of Materials Shortage In SL
    I Tried To Get This From the Following Method
    Checked For Define checking control In OPJK.
    Selected  plant, Order type & selected the business function 1 for create or 2 for release. And Maintained These Settings
    a)     Removed tick mark in No Availability check.
    b)     Type of component check Given as - ATP check.
    c)      Material release - 1. User decides on release if parts are missing.
    d)     PP  Checking rule (Which Is same As with plant parameter OPPQ)
    e)     In Define scope of check (OPJJ) made a tick mark in check w/o RLT.
    Then Assigned the availability checking group at Mrp View of Header material.
    In spite Of All These Settings Still At The Time Of Order Release/Save  A  Warning Massage Or A Informative Massage Is Not Appearing
    Please Suggestu2026u2026u2026u2026
    Hari

    Dear Friends,
    I Did The Following Settings
    A) Define Checking control       02               Individual Req
                        Total Sales          Single Record
                        Total Div Rec               Single Record
    B)Define Checking Rule     PP  Check Rule
    C)Define Scope Of Check     Availability Check          02 Ind Req
                        Checking Rule               PP Check Rule
              Stock
                   Include Safety stock
                   Stock In Transfer
                   Incl Quanty Insp Stock
    And When No tick Mark Is Applied  In NO Stor Loc Inspectn
    Not Used Checking Group "KP" In components material master.
    After  Making All This Settings Also Before  Order ReleaseWhen Pressed u201CMaterial Availability Checku201D
    The System Is Showing  All Materials Available  In Spite Of Deficit In Storage Location
    Suggestu2026u2026

  • How to check for missing fields in the file?

    Hi friends,
    I have a file to file scenario in which if any of the fields have a blank value, i have to put the file back in the source folder. If none of the fields are missing, the scenario should work normally.
    Can anybody tell me <b>how can i check for the field lengths</b> and if any of the fields are blank, <b>how do i send it back to the original folder.</b>
    Waiting for your responses,
    Divija.

    Hi Divija,
    >><i>how can i check for the field lengths</i>
    Since you need to basically check if the field has a value or not, i dnt think you need to check for the length of the field. Instead, you can use any one of the booloean functions available in the graphical mapping editor to check if the field has a value or not(filed value true or false)
    >><i>how do i send it back to the original folder.</i>
    You can maintain a flag variable in the target structure such that if any of the source fields donot have values, the flag's value becomes 1 else it remains 0.
    Now, you can check if the value of flag is equal to 1/0 in the bpm and accordingly send the data.
    If in case, you donot want the flag to come in the target file that is loaded/sent from the bpm in the end, i think even tat can be taklen care of.
    You can create two receiver communication channels and define one file adapter in each such that one has the destination as the actual target directory and the other has the original source directory as the destination.
    Regards,
    Sushumna

  • Check for Flash plugin

    I have flash objects on my website. I noticed that in Firefox
    they don't show up if someone doesn't have the plugin. All that is
    there is a blank space. I need to know how to ensure that people
    download the plugin if they don't already have it. I know there is
    a code for it. Anyone know what it is and where I put it?
    Thanks!
    Lyn

    There is a setting in the Publish Settings to check for the
    player. But after all the problems surrounding the Microsoft
    settlement and Active Content, you may want to use something like
    Geoff Stearns' SWFObject:
    http://blog.deconcept.com/swfobject/
    Cheers!

  • Web site keeps asking for missing plugins

    I work for a well known German car manufacturer and on a regular basis have to complete e-training on their web site.
    Now I have already done a platform test for mac and unfortunately failed because it is not comparable - however speaking with iT department they suggested I  Run Fire fox. This actually allows me into web page but as soon as I start a course a window pops up saying missing plugins.
    It then asks me do I want to locate missing plugins when I select yes it then pops up with another window suggesting there are no suggestions.
    It then asks me if I'd like to do a manual search - unfortunately because I haven't got a clue which plugins I require I'm reluctant to download a system for example like Java. My mac 27" is fresh out the box how do I find missing plugins.
    Our iT department has suggested changing my computer to a windows platform - which obviously not an option  

    Java and Flash are two very common plugins that no longer come pre-installed on Macs. Flash used to and I think believe Java did but I'm not 100% sure.
    I think you can get Java if you just run software update, otherwise, go here
    As for Flash, that's here
    Make sure you visit these using Firefox.
    If you can provide the link to the website, I can take a look and hopefully see what exactly you need.
    ~Lyssa

  • Availability check for configurable material while creation of sale order

    Hi Experts,
    Does anyone know how stock can be viewed for configurable materials.
    Does ATP work at the time of Sales order to check for material avaialablity based on the variant in the sales order ?
    Regards
    Chandru

    Dear Sir,
    Sorry for the delayed reply. I was in long leave.
    My scenario is same like Material variant.
    This is my requirement. Whether this is possible or not.
    To check stock of machine nearest to configured specs or lead time.It should indicate the percentage of material  in production stock & lead time for manufacturing the same. & also we should be able to link production order number in sale order manually.
    Please guide me to sort out this issue.
    Regards
    Chandru

  • Where to Authorization check for the plant while creating outbound delivery

    Hi Experts,
    For outbound delivery , the standard program is not doing the authorization check .
    Can i use BADI       *LE_SHP_DELIVERY_PROC *        and the method :     DELIVERY_FINAL_CHECK
    To write Authority-check statement ,
    If the particular is not authorized for any of the plants of the items in the outbound delivery i will throw a error message
    Can i use as above?
    And if i use it has to apply only for outbound delivery?Because for inbound delivery also the same BADI is getting triggered?
    Please suggest.
    Regards
    Ramakrishna L

    Hi,
    Yes you can use the said BAdi and the method if it is triggerd before the SAVE of the Outbound Delivery Order to do the Authorisation Check. In case the code is triggered for all the orders and you want only to restrict for the Outbound Delivery, then check for the Delivery Type (LFART) from the Delivery Header table for only the Outbound Delivery Order.
    Thanks,
    Susanth Swain

  • Looping in Word mail merges/ checking for missing fields

    I am trying to convert a project that uses WordPerfect merges to use Word mail merges.  One issue that I am encountering is that I cannot find a way to use any looping structures in Word mail merges. Specifically, my data file is a csv text file. 
    I control the contents of the file but its current structure is that it will consist of a single record (not counting the header row).  The number of fields will vary but it will contain a field named Person1.  There may or may not be a field named
    Person2, Person3 etc.  There are several of these types of fields in the record so it is not an option to make a separate record for each person ie for the record I will have Plaintiff1, Plaintiff2... and Defendant1, Defendant2....
    I am having trouble with two things:
    1. how can I test for a blank or missing field ie I want to have a statement like {if {MERGEFIELD Defendant2}="" "Defendant is" "Defendants are"}.  That statement works but it throws error messages to the user that the
    field Defendant2 is missing and prompts them to substitute another field.  That sort of statement occurs multiple times during a merge so asking the users to ignore the errors is not an option.
    2. is there some sort of looping mechanism in Word mail merges.  I need to be able to do two things with a loop:
    a.  I need to be able to list each of the Persons, Defendants, Plaintiffs ie. While {MERGEFIELD Defendant{#}<> "" " {MergeFIELD Defendant{#}" (increment variable # by 1).
    b.  I some circumstances I need to create full documents based on a loop i.e.  While {MERGEFIELD Defendant{#}<> "" <<merge a defendant summons here>>(increment variable # by 1)

    For clarification: In a Word mailmerge, if any of the field headers are missing from the data source, you will get an error. Thus, you can't have a mailmerge main document that references «Plaintiff2» or «Defendant2» and not have the corresponding headers
    in the data source. The fields may be empty, but the headers must exist.
    Re 1:
    You can indeed use an IF test along the lines of:
    {IF«Defendant2»= "" "Defendant is" "Defendants are"}
    or:
    {IF{MERGEFIELD Defendant2}= "" "Defendant is" "Defendants are"}
    Re 2a:
    Creating a list is as simple as inserting the mergefields one after the other:
    «Defendant1»
    «Defendant2»
    «Defendant3»
    This will, of course, result in empty lines when fields have no data. To cater for this, Word provides the mergefield \b and \f switches.Given you can have one or more defendants, you could suppress the extra lines via, say, an \b switch:
    1. select the
    «Defendant2» field and press Shift-F9 so that you get {MERGEFIELD Defendant2};
    2. edit the field code so that you get {MERGEFIELD Defendant2 \b "¶
    3. delete the paragraph break or line break after the field, so you get:
    «Defendant1»
    {MERGEFIELD Defendant2 \b "¶
    "}«Defendant3»
    where ¶ is a real paragraph/line break
    4. Do the same for the «Defendant3» field and so on, till all are done.
    The following construction can be used to manage data where one or more related fields («Defendant2», «Defendant3», «Defendant4», «Defendant5», & «Defendant6») may or may not be populated, so you can get commas before all except the last in a multi-defendant
    sequence, which is preceded by 'and'.
    «Defendant1»{IF«Defendant3»= "" " and «Defendant2»" ", «Defendant2»{IF«Defendant4»= "" " and «Defendant3»" ", «Defendant3»{IF«Defendant5»= "" " and «Defendant4»" ", «Defendant4»{IF«Defendant6»= "" " and «Defendant5»" ", «Defendant5» and «Defendant6»"}"}"}"}
    Note: It is assumed that none of the fields after the first empty one will be populated.
    Re 2b:
    It's not clear what you're after here. However, in addition to using an IF field as per 1, above, they can also be used to conditionally output multiple pages, including text, tables and images, together with additional mergefeilds on those pages. For example:
    {IF«Defendant2»= "" "«Defendant2» is a nasty fellow ... plus the rest of defendant 2's content & mergefields"}
    Note: The field brace pairs (i.e. '{ }') for the above examples are created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via
    any of the standard Word dialogues. Likewise, you can't type or copy & paste the chevrons (i.e. '« »') - they're part of the actual mergefields, which you can insert from the mailmerge toolbar. The spaces represented in the field construction are all required.
    Instead of the ¶, you should use real line/paragraph breaks.
    For more Word mailmerge tips, see:
    http://www.msofficeforums.com/mail-merge/21803-mailmerge-tips-tricks.html . That page also includes a macro for turning the above field representations into working field codes.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Check for mandatory fields while creating EP users using code .. :|

    Hello All,
    I have a code using which I can create user accounts/EP users on Portal, am working on EP6 SP9 & SP12.
    <u>My query</u>:
    1. <i>From Portal's perspective</i> -> While creating EP users, there are few mandatory fields like user-id, FirstName, LastName, Email-id and Password. If any of the above fields is null/empty, Portal would give us an error message.
    2. <i>From coding perspective</i> -> Here, only the user-id is required. Even if I do not enter/fill any of the above mentioned mandatory fields (except user-id), user account is created.
    In case wherein FirstName/LastName is not mentioned, Portal shows the userid in the Welcome Frame, i.e. Welcome <user-id>. Tried this by commenting the statements contains the methods related to setting/accepting FirstNme and LastName of user.
    <b>I want to know if this is all rite?
    If no, then please guide me as to how can I set mandatory fields in my code.</b>
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
    >>please guide me as to how can I set mandatory fields in my code??
    In ur jsp file or in the controls code add the following attribute
    <hbj:label id="userIdLabel"
               text="User ID"
               labelFor="userIdInput"
               design="HEADER3"
               required="true"/>
    and to check the mandatory entry for that field do this in the submit button
    <hbj:button id="insert"
                text="Submit"
                design="emphasized"
                onClick="save"
                onClientClick="if(!isMandatory()) htmlbevent.cancelSubmit=true;;"/>
    and in the javascript write the client validation code.
    Hope this helps.
    Regards,
    Joshua Kiran

  • Adadmin error when run check for missing files

    Hi All,
    When i run adamin for checking missing flie option it return the error
    Unable to verify files for iSupplier Portal.
    AD Administration error:
    The following file is missing:
    /m01/TEST/apps/apps_st/appl/pos/12.0.0/admin/driver/posfile.drv
    My EBS version is :R12.1.3
    when i checked files existed in $POS_TOP there are only three subdirectories available i.e. log mesg out
    when i checked in one of the older server in mean R12.1.1 all files existed in POS_TOP i.e. admin help html java log mds media mesg out patch sql xml
    Can i copy all the files from old server(12.1.1) to produciton(R12.1.3)
    Due to this error JAR files cannot be generated
    Thanks
    Alig

    Was this 12.1.3 instance upgraded from the same copy of 12.1.1 instance you have?
    Can i copy all the files from old server(12.1.1) to produciton(R12.1.3) They are different releases. However, you could try copying the files and see if this helps. Are you using this product?
    Due to this error JAR files cannot be generatedWhat is the error? Copy the missing files/directories for now and check then.
    Thanks,
    Hussein

Maybe you are looking for