Saving and loading of values on a 3rd party ownership of arbitrary data to the plugin?

Here I am again, asking weird questions.

I am trying to find a way that I can save and restore values/keyframes on a 3rd party property of the plugin.

It's easy to do with standard property types as I can just get/set values, but with arbitrary data, I don't see a clear way to do this.

I can make a preset effect which will restore the correct arbitrary values when applied and use ExecuteScript() to apply the preset.

But, I prefer a method that does not need to apply a preset, because this solution would require the installation of a special it somethere preset in path predefined AE.

It is the risk that the user could delete the preset, and then the plugin is broken.


I thought that maybe I could trick the plugin from 3rd party to give me a copy of the flattened data of arbitrary property by sending PF_Cmd_ARBITRARY_CALLBACK, passes along a custom made PF_ArbParamsExtra with the which_function the PF_Arbitrary_COPY_FUNCvalue.  Now, I have a copy of arbitrary data.  I can use the same trick to get the flat size of data (PF_Arbitrary_FLAT_SIZE_FUNC), flatten the dataset (PF_Arbitrary_FLATTEN_FUNC), and then save the data flattened on the disk in a binary file.

If it works, I would basically do the opposite to restore data from the disk and apply arbitrary to a new/different instance of will assume it.


Typing all this, it sounds pretty crazy, and I barely understand the arbitrary data how works.  I'm not even sure I can do the above without things get messy.

Any ideas on that?  I'm far from base? This is another technique that can do this with techniques less hacky?

Thank you!

-Andy

your assumptions are correct.

You cannot change add an effect to a layer while your effect is

ground of appeal.

It doesn't have the o effect with javascript. It's just, as you say,

change the scene while working on it.

How to work around this problem:

have two plug-ins effect and a CEAP.

result call the CEAP via a special series (see "order" and)

samples of "honey" to see how it works) and set some data there.

do not have the CEAP run changes immediately! store these data only!

Let the effect finish its execution and return.

now.

during the call to idle_hook, the CEAP checks all messages left by the effect.

new data is present? God. run now that the effect is not in call mi.

TADA!

with regard to the getPlatformData,.

platform commands specific for data such as the path to self

.dll, but you can just have the effect the data desired in the CEAP

When it sends the message.

Tags: After Effects

Similar Questions

  • Data are skewed between saving and loading

    Hello

    I'll have a problem saving and loading the data in my VI. My software allows the user collect data from an acquisition of data which is then displayed on a graph for them to see. They can save the data, then load it back later to compare with the current data. Here is the basic methodology:

    1. the data are read in the program via a data acquisition

    2. data are saved in a file in spreadsheet to a table with the VI 'save in the spreadsheet file.

    3. the data is loaded to the program with the VI "read the spreadsheet file.

    4. the data are transferred in the same graph is was originally shown on

    However, when I save the data and reload, my chart is slightly distorted. I noticed a few things:

    1. the values of X are a little more for the loaded data vs the same data front to save/load (DECIMAL NUMBERS)

    2. the values of are are not affected. (WHOLE NUMBERS)

    3. the loaded data are more straight lines, which means that the same data point is used for row X or Y values

    attached is a screenshot of the graph - red data is from this session, Green data is loaded.

    export excel to this same graph is attached.

    No one noticed an interesting trend in this anomaly, or have any ideas on what I can check? My code does not change the values, but only manipulates them. Please let me know if you need more information, I've tried including as much as I could without a useless book.

    Thank you

    Joe

    To solve this kind of problem, replace the random number generators with a simple signal that you can easily identify as a linear ramp, the number of iterations or a low frequency sine wave. By selecting a signal that is suitable for your application, you should be able to tell if the data are all be recorded and in the right order.

    The use of nodes property to move data around sounds like a disaster in the making.  Examine the queues, user events, or functional global variables.

    Lynn

  • Saving and loading of specific orders of façade

    Hello

    I found this example to save the values of front panel control. He used a node invoke with 'Ctrl Val.Get All (not recommended). With a little research, I found that I had to adapt, using the "Ctrl Val.Get All" and by replacing the variant data type. Works of savings (at least, something is saved), but when you try to load the file, nothing works (strangely enough, she has worked with the (outdated) version of the invoke node). So, obviously, I must have done something wrong, but I can't know exactly how I would change the data types. The version that I came with is attached.

    But the main question is this: How do I back up only certain controls? That invoke node records the value of each control, so I think I'll need to use the node 'Get the value', but I don't know how to use it, either. Maybe the problem lies in my first question and I just need to send a string containing all values of control I want, but it's so that you can see where I am going.

    Thank you and have a nice day.

    There is an example that shows the whole process - https://decibel.ni.com/content/docs/DOC-15349

  • Saving and loading of specific properties of an Image

    Hey everybody. I am currently developing a game that allows you to customize the color (hue) of your character through a cursor. What I want to happen is: when you click on accept or play, it will record the current hue of the image, return to this page will take care of this standard that has been saved previously (dyed), as well as at the start of the game, it will replace the graphic with the recorded image previously.

    Here is the code I have in this moment that relates to the image with a base not working correctly save and load this code:

    import flash.events.KeyboardEvent;
    
    
    // open a local shared object called "myStuff", if there is no such object - create a new one
    var savedstuff:SharedObject = SharedObject.getLocal("myStuff");
    
    
    Accept.addEventListener(MouseEvent.CLICK, SaveData);
    PlayBTN.addEventListener(MouseEvent.CLICK, LoadData);
    
    
    function SaveData(MouseEvent){
               savedstuff.data.username = Sliders.Dino.MovieClip // changes var username in sharedobject
               savedstuff.flush(); // saves data on hard drive
    }
    
    
    function LoadData(event: MouseEvent) 
    {
               if(savedstuff.size>0){ // checks if there is something saved
               Sliders.Dino.MovieClip = savedstuff.data.username} // change field text to username variable
    }
    
    
    // if something was saved before, show it on start
    if(savedstuff.size>0){
    Sliders.Dino.MovieClip = savedstuff.data.username}
    
    
    

    What I have above is only to save the actual image, which is inside a movie clip names cursors.

    This is the class that I use and which associates the cursor that changes the color of "Dino".

    package 
    {
              import flash.display.Sprite;
              import fl.motion.AdjustColor;
              import flash.filters.ColorMatrixFilter;
              import fl.events.SliderEvent;
      
              public class Main extends Sprite
              {
                        private var color:AdjustColor = new AdjustColor();
                        private var filter:ColorMatrixFilter;
      
                        public function Main():void
                        {
                                  /* Required to create initial Matrix */
      
                                  color.brightness = 0;
                                  color.contrast = 0;
                                  color.hue = 0;
                                  color.saturation = 0;
      
                                  /* Add Listeners function */
      
                                  addListeners();
                        }
      
                        private final function addListeners():void
                        {
                                  colorPanel.hueSL.addEventListener(SliderEvent.CHANGE, adjustHue);
                        }
      
                        private final function adjustHue(e:SliderEvent):void
                        {
                                  color.hue = e.target.value;
                                  update();
                        }
      
                        private final function update():void
                        {
                                  filter = new ColorMatrixFilter(color.CalculateFinalFlatArray());
                                  Dino.filters = [filter];
                        }
              }
    }
    
    

    Overall, what I'm asking is: how to save the current hue of an image by clicking on a button, then having this recorded image be previously loaded on reloading or clicking a button? To me, it doesn't seem it should be too hard, but for some reason that I can't grasp it.

    Thanks in advance for reading this and for any assistance, you have to offer!

    It is not possible to trigger this error message for the line of code that you mentioned and the line above to not trigger an error.

    in any case, use:

    so. Data.Hue = e.target.value;

  • Saving and loading of a meter

    Hey everyone, I am currently faced with data backup, I have a counter, then loading what was saved. Right now, I'm just a jump every time cash counter as you jump.

    Right now I have:

    var JumpCounter: int = 0;

    Then, when you jump:

    JumpCounter ++;

    Output in the text box called JumpBox with:

    JumpBox.text = JumpCounter.toString ();

    And I want to load and save by using this line of code:

    var so: SharedObject = SharedObject.getLocal("myStuff","/");

    I don't know how to incorporate that into my code.

    Currently, the meter is incremented by jumping and everything, I'm just not sure what the record using so.flush (); and it's not. I have other objects in the backup set and loading fine, I just haven't yet done with a variable. It seems that if a variable would be easier, but I can't put my finger on. If anyone has any ideas, please let me know.

    Thanks in advance!

    use:

    var JumpCounter: int = 0;

    var so: SharedObject = SharedObject.getLocal("myStuff","/");

    {if (SO. Data.JumpCounter)}

    JumpCounter = so.data.JumpCounter;

    }

    Then, when you jump:

    JumpCounter ++;

    so.data.JumpCounter = JumpCounter;

    so. Flush();

    Output in the text box called JumpBox with:

    JumpBox.text = JumpCounter.toString ();

  • Saving and loading data to the Local computer

    I'm new to Flash/ActionScript, and I'm having a lot of fun to create a project in Flash.

    I'm working on a tracker of character (yes I am totally geeking) an I was wondering how to save the data, I walked into the draft (hit points etc...) and load it back the next time I opened it. The data would be stored on my local computer. How can I get Flash/ActionScript for this?

    Thank you.

    Sorry, I copied your code.

    getLocal(), should be getLocal()

  • Problem saving and loading multiple images in the same file

    Hello

    I am having a problem, I have a thah program creates a fileOutputSteam and a gzipOutputSteam and finally an imageIO wrote several images, then I do the reverse process, a
    FileInputsteam and an inputsteam of gzip, imageIO.read read only image of frist, not the rest.

    Can someone help me?
    PS: Sorry for my bad English, I'm Spanish

    Code:
    class Lector {
    
        // Atributos
        private String ruta;
        private static Collection<Imagen> imagenes;
    
        /**
         * Clase que carga un fichero .zip lleno de imagenes
         * @param ruta: ruta donde se halla el fichero .zip a cargar
         */
        public Lector(String ruta) {
        }
        /**
         * Constructor sin parametros
         */
        public Lector() {
        }
        /**
         * Metodo que setea el archivo que queremos cargar
         * @param ruta: Ruta del fichero a cargar
         */
        public void setArchivo(String ruta) {
            this.ruta = ruta;
            imagenes = new ArrayList<Imagen>();
        }
    
        /**
         *
         * @param output: Lugar donde sera representada la salida de la carga de imagenes
         * @return retorna 1 si la carga fue bien y 0 si fue mal
         * @throws FileNotFoundException : excepcion por  no haber encontrado el fichero
         * @throws IOException: excepcion por no poder leer el fichero
         */
        public int cargarImagenes(JTextArea output) throws FileNotFoundException, IOException {
            ZipEntry entrada;
            int contador = 0;
            String archTemp = "temp.jpg";
            FileInputStream fis = new FileInputStream(ruta);
            ZipInputStream zis = new ZipInputStream(new BufferedInputStream(fis));
            BufferedOutputStream dest = null;
            byte[] data = new byte[9000];
    
            // Leemos secuencialmente el archivo zip
            while ((entrada = zis.getNextEntry()) != null) {
                File bufferTemporal = new File(archTemp);
                System.out.println("Archivo " + entrada.getName() + " cargado!");
                output.append("Archivo " + entrada.getName() + " cargado!\n");
                if (!entrada.isDirectory()) {
                    FileOutputStream fos = new FileOutputStream(bufferTemporal);
                    dest = new BufferedOutputStream(fos, 9000);
    
                    while ((contador = zis.read(data, 0, 9000)) != -1) {
                        dest.write(data, 0, contador);
                    }
                       //Cerramos los buffers
                    dest.flush();
                    dest.close();
                    fos.flush();
                    fos.close();
    
                    FileInputStream fin = new FileInputStream(bufferTemporal);
                    BufferedImage bi = ImageIO.read(fin);
                    //Guardamos el fichero
                    imagenes.add(new Imagen(bi, entrada.getName()));
                }
               bufferTemporal.delete();
            }
     
            // Cerramos los bufferes
    
            fis.close();
            zis.close();
    
           
    
            saveAsGzip("dato.gz");
            loadAsGzip("dato.gz");
            return 1;
        }
        /**
         * Funcion que carga la simagenes de dentro del .zip y las guarda en el objeto Imagen
         * @return retorna 1 si la carga fue exitosa
         * @throws FileNotFoundException: Excepcion por no encontrar el archivo
         * @throws IOException: Excepcion por no poder leer el archivo
         */
        public int cargarImagenes() throws FileNotFoundException, IOException {
            ZipEntry entrada;
            int contador = 0;
            String archTemp = "temp.jpg";
            FileInputStream fis = new FileInputStream(ruta);
            ZipInputStream zis = new ZipInputStream(new BufferedInputStream(fis));
            BufferedOutputStream dest = null;
            byte[] data = new byte[9000];
    
            // Leemos secuencialmente el archivo zip
            while ((entrada = zis.getNextEntry()) != null) {
                File bufferTemporal = new File(archTemp);
                System.out.println("Archivo " + entrada.getName() + " cargado!");
    
                if (!entrada.isDirectory()) {
                    FileOutputStream fos = new FileOutputStream(bufferTemporal);
                    dest = new BufferedOutputStream(fos, 9000);
    
                    while ((contador = zis.read(data, 0, 9000)) != -1) {
                        dest.write(data, 0, contador);
                    }
    
                    dest.flush();
                    dest.close();
                    fos.flush();
                    fos.close();
                    java.io.FileInputStream fin = new FileInputStream(bufferTemporal);
                    BufferedImage bi = ImageIO.read(fin);
    
                    imagenes.add(new Imagen(bi, entrada.getName()));
                }
               
            }
    
            // Cerramos los bufferes
            fis.close();
            zis.close();
    
            dest.flush();
            dest.close();
    
            
            return 1;
        }
        /**
         * Funcion que retorna el array de peliculas
         * @return retorna el array de peliculas
         */
        public Collection<Imagen> getImagenes() {
            return imagenes;
        }
        public int saveAsGzip(String pathFichero) throws FileNotFoundException, IOException{
    
            FileOutputStream fos = new FileOutputStream(new File(pathFichero));
         //GZIPOutputStream gzip = new GZIPOutputStream(fos);
            BufferedImage temp2;
            Imagen img;
    
            Iterator ite = imagenes.iterator();
            while(ite.hasNext()){
                img = (Imagen) ite.next();
                temp2=img.getBufferedImagen();
                
                boolean i= ImageIO.write(temp2, "JPEG", fos);
                System.out.println(i);
    
            }
            System.out.println();
    
            //gzip.finish();
            fos.flush();
             
            fos.close();
           
            //gzip.close();
    
            return 1;
        }
        public int loadAsGzip(String pathFichero) throws FileNotFoundException, IOException{
    
            imagenes.clear();
            
            FileInputStream fos = new FileInputStream(new File(pathFichero));
         //GZIPInputStream gzip = new GZIPInputStream(fos);
            BufferedImage img;
    
    
                for(int i=0;i<=100; i++){
                    
    
                 
                    img=ImageIO.read(fos);
    
                    
                    if (img != null){System.out.println(img);
                    imagenes.add(new Imagen(img, String.valueOf(i)));}
                       
                    
    
    
            
                }
    
    
    
    
           // gzip.close();
            fos.close();
    
            return 1;
        }
    }
    Published by: sabre150 on October 28, 2010 01:43

    Moderator action: added
     tags to source.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    805814 wrote:
    Oh, sorry again, Ii have commented on all of the code not clear in my best English and posted the image of class:

    (sigh) OK, it's an improvement, but it is not yet an NBS! I think it would take me less time to write code that is a NBS that try to explain more (perhaps an example is better here?). In all cases, your code still seems to be mixing the two Zip and GZip. I've never dealt with GZip and could not be disturbed from now just for this problem, so I focused on using the Zip classes.

    Try this code:

    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.*;
    import javax.imageio.*;
    import java.util.*;
    import java.util.zip.*;
    import java.io.*;
    
    /** SSCCE that demonstrates how to:
    1) Create some random images.
    2) Store them to a Zip File.
    3) Restore them from a Zip File
    Please study the code carefully, and note how in a single Java source of less
    than 100 lines of code, it manages to achieve the entire demo.!
    @author Andrew Thompson */
    class StoreImagesAsZip {
    
        static Random random;
        static int size = 60;
    
        public static BufferedImage getRandomImage() {
            BufferedImage bi = new BufferedImage(size,size,BufferedImage.TYPE_INT_RGB);
    
            Graphics2D g = bi.createGraphics();
            GradientPaint gp = new GradientPaint(
                (float)random.nextInt(size),
                (float)random.nextInt(size),
                new Color(random.nextInt(255),random.nextInt(255),random.nextInt(255) ),
                (float)random.nextInt(size),
                (float)random.nextInt(size),
                new Color(random.nextInt(255),random.nextInt(255),random.nextInt(255) )
                );
            g.setPaint(gp);
            g.fillRect(0,0,size,size);
    
            return bi;
        }
    
        static public void writeImagesToZip(File file, BufferedImage[] images) throws Exception {
            OutputStream os = new FileOutputStream(file);
            ZipOutputStream zos = new ZipOutputStream(os);
            // Zip does nothing for otherwise compressed media formats such as JPEG and PNG
            zos.setLevel( ZipOutputStream.STORED );
    
            for (int ii=0; ii< images.length; ii++) {
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                ImageIO.write(images[ii], "png", baos);
    
                ZipEntry ze = new ZipEntry( ii + ".png" );
                zos.putNextEntry( ze );
                zos.write( baos.toByteArray() );
                zos.closeEntry();
            }
            zos.flush();
            zos.close();
        }
    
        static public BufferedImage[] readImagesFromZip(File file) throws Exception {
            ArrayList images = new ArrayList();
    
            ZipFile zipFile = new ZipFile(file);
            Enumeration en = zipFile.entries();
            while (en.hasMoreElements()) {
                ZipEntry ze = (ZipEntry)en.nextElement();
                InputStream is = zipFile.getInputStream(ze);
                BufferedImage bi = ImageIO.read(is);
                images.add(bi);
            }
    
            BufferedImage[] imageArray = new BufferedImage[images.size()];
            for (int ii=0; ii
    

    Also note that I now invested a lot of time trying to help you. If you like what I've done, the best way to show that is on the occasion of my responses as "Helpful" or "correct". If the problem is "answered", make sure that mark also.

  • I can't open select Library of Photos photo of 3rd party app. Will receive access the pictures library to open the library file is grayed out

    OS X 10.11.1 pictures 1.2

    When I try to open the photo of the order open menu file of 3rd party apps (for example, an application in edition on my hard drive or on the web) and access my library of Photos, the library is either gray out and inaccessible, or it is not grayed out, but when I select it it does not e access to individual photos, but instead tries to open the entire library. How to select individual photos, modify or download programs on the web?

    You don't ever open the photo library - you use the browser to media at the bottom left of each window of download/tie/open under media ==> photos--> Photos

    LN

  • Cannot completely remove 3rd party app (still present icon in the menu bar)

    I installed and later removed MacReviver app.

    But anyway still present icon in the menu bar.

    Attempted to remove all remains of the library, but still without success as when I try to delete the folder 'MacReviver', it pop up again in a few seconds.

    Wil appreciated if someone could give me solution to this problem.

    Thanks in advance,

    Run EtreCheck and post the report here.

    http://etresoft.com/etrecheck

    Download, open the download folder, click on it to open it and select 'open '.

    Select a problem from the menu popup box "Choose a problem", then "Start EtreCheck" in the dialog box.

    Click on the button "Report share" in the toolbar, select "Copy to Clipboard" and then paste it when replying.

  • Get Windows install quickly install 3rd party routine when right click on the desktop.

    original title: right click

    When I right click on anywahere on my desk I pronpt of Windows Installer to install a routine party 3rd.

    This routine is part of a suite of applications that eas removed before installation/repair of my XP system.

    Hello

    Method 1: Start your computer in a clean boot, and then try to take backup in order to check whether a third-party program is causing the problem. To configure your computer to clean boot see the following link.

    http://support.Microsoft.com/kb/929135

    Note: when you are finished troubleshooting, follow step 7 article to start on normal startup.

    Method 2: If the problem persists then, I suggest that you can exercise SFC scan and then try to take backup and check if that helps. To do this, please see the following article. The SFC/SCANNOW command. analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions. For more information how to make SFC / scan, please follow this link:

    http://support.Microsoft.com/kb/929833

  • XPS 13 9343, 3rd party software too small fonts to the QHD + (3200 x 1800)

    But it is not fair to Adobe software, is it?

    I just got my new XPS 13 9343 fresh from the boat from China and most of the software, I installed has problems with the resolution of the screen. System Mechanic (14.5); TeamViewer; GoodSync - all have problems. TeamViewer screens are unreadable!

    This is a serious issue! I don't see what is the simplest solution to this problem - it should be down to all publishers of software, when it's obviously a hardware problem!

    Brabian

    Lawgirl: Return it and get the standard display...

  • Hi, I have D/L'd 23 FF but inadvertently, THAT D/L from had a 3rd party, dalesearch FF I stripped took over them and run my malware how do I get rid of him. Thank you

    I downloaded 23 FF but inadvertently to a 3rd party, FF has been adopted by the so-called Dalesearch, which apparently is malware, I stripped out FF23 ran my anti malware program and re downloaded FF23 from the Mozilla site, everything works now, but Dalesearch is always in my search engine, but not active. I can crush it and everything is ok. Can someone tell me how to completely get rid of this because it is a bit worrying. I can find my way around a computer but I'm not a expert please not complicated answers.
    Thanks a lot Pete30

    Sometimes a problem with Firefox can be a result of malware installed on your computer, you may not be aware of.

    You can try these free programs to search for malicious software that work with your existing anti-virus software:

    Microsoft Security Essentials is a good permanent antivirus for Windows 7/Vista/XP, if you do not already have one.

    More information can be found in the article troubleshooting Firefox problems caused by malware .

    You can also see the...

    Always download Firefox from mozilla.org

  • SRM + SQL + 3rd party replication and suspend the DB

    Gentlemen

    What can the SRM to ensure customers a SQL VM running on (and replicated by) 3rd party storage is applied consistently? The HP SRA has code that can invoke the suspension in the virtual machine? Or is there some kind of way scripted as part of SRM, that a quiesce DB in the virtual machine can be triggered in tandem with or just as a LUN replication occurs?

    I know that HP is responsible for the ASR - but in these situations, we sometimes get caught between vendors. Looking for experience "How have any other mission critical SQL resources protected using 3PAR and SRM".

    In other words:

    We are looking for assistance with a DR implementation for a specific application of SQL. The app is on virtual machines running on 3PAR storage. We bought all the necessary "3PAR suite application licenses" and then also have VMware SRM.

    We are more concerned than LUNS replicated DR on-site production (LUN will be virtual computers hosting SQL data storage I assume) will be fully SQL-compliant (i.e. better than crash-consistent), during replication.

    We have some experience with 3PAR replications - but to my knowledge have not yet worked with the application suites.

    Question - anyone can describe what role (if any) suites of applications 3PAR can have in correctly the suspension SQL running on a virtual machine that is on a LUN 3PAR? I don't know we can do this medium - seems that we will have to use RDM (or vVOls if they are compatible SRM) be properly suspended the DB. Is there a HP storage agent that can run on a VM SQL in order to coordinate with the table when the underlying LUN snapshots are performed?

    You are right. Consistency in the application will have to be managed at the level of the array. Some providers of table (I know NetApp specifically) offer the ability to place an agent on the VMS and this agent to use the table to ensure uniformity in the application, I'm not sure of HP.

    Another option that you might look at is vSphere replication. VR offers quiecing VSS (with JEREMIAH) in native mode.

    If you are looking for a specific response to the use of replication 3PAR application suites I suggest you post to a forum of HP. vVOLs are not yet compatible with SRM and I do not see how RDM you will get what you are looking for.

    Finally, how you deal with your post, I would say that you do not assume that only men participate in this forum.

  • How to submit form data to the REST 3rd party API service

    Hi guys,.

    It's new to me, so the sample scripts and procedures will be appreciated.

    Problem:

    My client has opted for a more advanced 3rd party CRM solution that uses REST APIs

    They want form data entered (form join us) and submitted to the 3rd party CRM

    Examples of available API CRM scripts are PHP and makes no sense to me.

    It is their example of form and php script.

    Issues related to the:

    (1) how to convert this works in British Colombia

    (2) is it possible to use liquid as a script to make the API calls server side?

    (3) also would like to hide the username token and API?

    Samples:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < style type = "text/css" >

    label, input, textarea {display: block; float: left; width: 150px; margin: 5px ;}}

    label {clear: left; text-align: right ;}}

    input [type = 'submit'] {width: 60px banner; margin: 10px 0 0 165px; clear: left ;}}

    < / style >

    < / head >

    < body >

    Contact us < h2 > < / h2 >

    <! - Edit REQUIRED with the file name of the script if different from the example - >

    < do action = "Solve360ContactSave.php" method = "GET" > "

    < label > (required) < / label >

    < input type = "text" name = "FirstName" value = "" / > "

    < label > name < / label >

    < input type = "text" name = "lastname" value = "" / > "

    < label > title < / label >

    < input type = "text" name = "jobtitle" value = "" / > "

    < label > Business email < / label >

    < input type = "text" name = "businessemail" value = "" / > "

    Note < label > < / label >

    < name textarea = "note" cols = "4" rows = "4" > < / textarea >

    < input type = "submit" value = "Save" / >

    < / make >

    < / body >

    < / html >

    PHP:

    <? PHP

    version 2.0

    All of the placeholders like {property}, {categoryId}, {templateId} expected

    be replaced by actual values without the {} brackets

    REQUIRED with your email address edit

    define ('USER', ' [email protected]');

    Edit REQUIRED by token, workspace > my account > QAnywhere > API Token

    define ('TOKEN', 'life');

    Get request data

    $requestData = array();

    parse_str ($_SERVER ['QUERY_STRING'], $requestData);

    Configure the service gateway object

    need to 'Solve360Service.php ';

    $solve360Service = new Solve360Service (USER, TOKEN);

    //

    Add the contact

    //

    $contactData = array)

    'Name' = > $requestData ["firstname"].

    'name' = > $requestData ["lastname"].

    "jobtitle" = > $requestData ["jobtitle"],

    'businessemail' = > $requestData ["businessemail"],

    Category of OPTIONS apply tag (s) and set the owner for the contact from a group

    You will find a list of identifiers for your labels, the groups and users in the workspace > my account > QAnywhere

    To activate this option, delete the following text:

    /*

    Specify a different property for example share item

    'property' = > {property},.

    Add categories

    'Catégories' = > array)

    'Add' = > array ('category' = > array ({categoryId}, {categoryId}))

    ),

    */

    );

    $contact = $solve360Service-> addContact ($contactData);

    If (isset ($contact-> error)) {}

    Post yourself if errors occur

    mail)

    USER,

    "Error when adding contact to resolve",

    ' Error: '. $contact-> errors-> asXml()

    );

    Die ('system error');

    } else {}

    Get the new contact params of the answer

    $contactName = (string) $contact-> article-> name;

    $contactId = (integer) $contact->-> id;

    You post the result

    mail)

    USER,

    "New contact added to solve."

    'New contact' '. $contactName. "" with the id '. " $contactId. "has been added to Solve360.

    );

    }

    //

    OPTION add an activity

    //

    /*

    * You can set an activity on the contact you created

    * This example shows how to create a Note, to enable this feature just uncomment the following application

    */

    /*

    Preparation of data for the note

    $noteData = array)

    'details' = > nl2br ($requestData ['notes'])

    );

    $note = $solve360Service-> addActivity ($contactId, 'note', $noteData);

    You post the result

    mail)

    USER,

    "Note was added to" "." " $contactName. "" contact to solve ","

    'Explanation '. $note-> ID "has been added to the contact with the id". $contactId

    );

    End of the addition of note activity

    */

    //

    OPTION of inserting a business model

    //

    /*

    * You can also insert a template directly into the contact that you just created

    * You will find a list of identifiers for your models in the workspace > my account > QAnywhere

    * To enable this feature, just uncomment the following application

    */

    /*

    Beginning of the application model

    $templateId = {templateId};

    $template = $solve360Service-> addActivity ($contactId, 'model', array ('templateid' = > $templateId));

    You post the result

    mail)

    USER,

    "Model has been added to" "." "" $contactName. "" contact to solve ","

    'Model with id '. $templateId. "has been added to the contact with the id". $contactId

    );

    End of the model application

    */

    ? >

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < / head >

    < body >

    Result of < h2 > < / h2 >

    Thank you < p >, < b > <? PHP echo $contactName? > < / b > < / p >

    < p > your data has been successfully saved. < /p >

    < / body >

    < / html >

    You cannot use the server host-side or liquid code on BC for this.

    You need to be to have some sort of configuration to point to a 3rd party solution that sends data on them or you need to implement and solution from API to API.
    A form will create a deal (or order if take payment) and you can have the BC API sends a url to the notification when cases are triggered. With your own code solution read you cases, get those to the shape you want and send the information to the 3rd part of the data structure they need.

  • 3rd party database patch...

    DBA - say take you over a field of companies, perhaps 60 large databases Oracle Oracle database. Some of these databases relate to put information 3rd party systems developed by a 3rd party. Oracle version say 5 new security fixes for patch known vulnerabilities in a specific version of Oracle. This 3rd party said "we do only support the application when it runs on a set of specific patch", that presumably is a patch level / game they know their application works well on. During a test on a new version of Oracle and the app is to go well, they will then install the patches.

    Enter your 3rd pen testers part, use their vulnerability scanner and a large RED finding arrives telling them to report 'x missing patches on this oracle database '. Accept your accounts by someone to install these patches can cause performance problems in the functioning of the application? Is it acceptable to have a vulnerable system in your environment? The fact that the database is internal behind the defensive perimeter a saving grace, it's what happens if non-patched vulnerability could be exploited by the public face frontal of apps. I've never seen much audits/pen tests saying "simply apply the security patch where you can, and it will not affect the availability/functioning of the application", "his patch as soon as possible or you have a vulnerable system", with little room for this sort of thing.

    What is your point of view? Any middle ground that will satisfy your security manager or security auditors / or practical work around?

    Group of patches are really less frequent, probably every 18 months (but I did not measure it).
    Patches are released quarterly: CPU => Critical Patch Update and PSU-online Patch Update are similar. But the power supply includes the CPU of the current quarter and some measures specific patches (in this topic a power supply is a little bigger than CPU), while the CPU was critical fix.
    All are the related database.

    Nicolas.

Maybe you are looking for

  • Why do I send you my MacBook, iPad and iPhone for you to replace my defective charger?

    So I just got a replacement wall chargers for my devices under the Exchange program of the taken wall Apple AC adapter (see https://www.apple.com/au/support/ac-wallplug-adapter/) When I followed the process after you have clicked on "Request a replac

  • integer to hex string

    Hello gentlemen, I'm having this problem try to send a 18 bytes in HEXADECIMAL string according to my device using the TCP Write.vi request schema As you can see in the attachments, if I use the string concatenation function and hardcode the 18 bytes

  • AIP license updates if you Smartnet services

    Hello I have a few AIPs currently under services SmartNet AIPs no giving expiry lic as seen in attached info yellow alerts, we just renew your service agreement, it is of would put the current ICA on these automatically up-to-date with respect to the

  • How to transpose a line date wise?

    Dear Experts,How to transpose a line date wise? date            value 11-jan-2016 101 11-jan-2016 102 11-jan-2016 103 12-jan-2016 104 12-jan-2016 105 12-jan-2016 106 13-jan-2016 107 13-jan-2016 108 13-jan-2016 109 --------------Expected results date 

  • Add a PATA HDD into a SATA system

    I am trying to add a drive EIDE (PATA) to my HP Pavilion a6814y (64-bit) that only sport SATA connections. I tried several types of adapters, but all seem to lead to the implementation of a raid configuration, and what I really want is a dual boot, o