Importing a script

I'm trying to import a script (originally written in Final Draft and exported from there as a PDF) into Story so that I can get at the metadata.
I've tried it as a pdf, and exported the pdf as a Word document (both doc and docx) and tried to import those, and I get the error "Failed to import document" every time.
This happens both on the browser and desktop versions.
It starts to import, and I get a progress bar... then it stops. A document is created, and it's imported the first line of the title page (or it may have gotten that from the filename), but nothing more - the "written by" segment shows my name rather than the authors of the script I'm trying to import.
I'm on a Mac, 10.8.3, and have a full CC subscription.

Hi,
Have you tried importing the .fdx document directly into Story?
If you face issues with that too please mail the document  at DL-AdobeStory-support<at>adobe<dot>com so that we may have a look at it.
Thanks
Rashi

Similar Messages

  • Issue with FDM Import Integration script

    Hi,
    I need to pull records from Oracle DB and load in FDM. have created Import Integration script for this. But,I reciev 'Data access error' when I execute the script.
    The line of error is Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)+ .When I review log, I see 'strWorkTableName' is Invalid table name.
    ERROR:
    Code............................................. -2147467259
    Description...................................... ORA-00903: invalid table name
    Procedure........................................ clsDataAccess.farsTable
    Component........................................ upsWDataWindowDM
    Below is the script:*
    Dim cnSS 'ADODB.Connection
    Dim strSQL 'SQL string
    Dim rs 'Recordset
    Dim rsAppend 'tTB table append rs object
    'Initialize objects
    Set cnSS = CreateObject("ADODB.Connection")
    Set rs = CreateObject("ADODB.Recordset")
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    'Connect to Oracle database
    cnss.open "Provider=OraOLEDB.Oracle.1;Data Source= FDMDB;Database= FDMDB;User ID= FDM;Password= xxxx"
    'Create query string
    strSQL = "Select ACCOUNT,ENTITY,AMOUNT FROM BALANCES"
    'Get data
    rs.Open strSQL, cnSS
    'Check for data
    If rs.bof And rs.eof Then
    RES.PlngActionType = 2
    RES.PstrActionValue = "No Records to load!"
    Exit Function
    End If
    'Loop through records and append to tTB table in location’s DB
    If Not rs.bof And Not rs.eof Then
    Do While Not rs.eof
    rsAppend.AddNew
    rsAppend.Fields("PartitionKey") = RES.PlngLocKey
    rsAppend.Fields("CatKey") = RES.PlngCatKey
    rsAppend.Fields("PeriodKey") = RES.PdtePerKey
    rsAppend.Fields("DataView") = "YTD"
    rsAppend.Fields("CalcAcctType") = 9
    rsAppend.Fields("Account") = rs.fields("Account").Value
    rsAppend.Fields("Entity") = rs.fields("Entity").Value
    rsAppend.Fields("Amount") = rs.fields("Amount").Value
    rsAppend.Update
    rs.movenext
    Loop
    End If
    'Records loaded
    RES.PlngActionType = 6
    RES.PstrActionValue = "Import successful!"
    'Assign Return value
    SQLIntegration = True
    End Function
    ===========================
    Also, Is the below string correct to connect to Oracle DB:
    cnss.open "Provider=OraOLEDB.Oracle.1;Data Source= FDMDB;Database= FDMDB;User ID= FDM;Password= xxxx"+
    Thanks in advance
    Edited by: 995155 on Mar 20, 2013 12:45 PM

    I am assuming you originally tried to run the script in workbench. for these type of scripts this is not possible as you get the error you highlighted.
    If it ran successfully (albeit without pulling any data,) then it might just be the SQL string that is incorrect.
    What i would try is:
    1. Add some error handling after the connection to the DB and display the error if it occurs
    2. display the SQL string you are using to make the Selection on, to ensure the format is ok.
    Edited by: user10757003 on 21-Mar-2013 01:34

  • Importing & exporting script

    hi experts,
    through program "RSTXSCRP" we can export or import the script to hard disk.
    my doubt is in the selection screen: we have "control parameters for file operation" what is the purpose of them.
    one more is we have "control of language version" what is the language vector field? how it is useful here.
    can anyone plz help me.
    thanks in advance.

    Hi Mytri
    The "Contrl Parameters for file operation" is generally when u want to save the file in to LAH server(application server) or at the place in which u want (i.e form/frontend option).
    The "control of language versions" helps in to save the form in different languages.More over there is one more option to upload and save it original box too(see the check box u had)

  • Calling Functions From Import Integration Script

    I've got an import integration script that runs fine, however I also have several DataPump scripts that are used in FDM to change specific columns as they come in. I can take the code from the scripts and add to the Import Integration script, but I would rather just call those other functions from the VBScript. I don't see any docs on this, and I'm just wondering if anyone has done this or can describe how I can do it.
    Is it possible? Since the standard import scripts reference the strField and the strRecord, can these functions be called from the import integration script?

    strField and strRecord are arguments passed by the application to the import function. The represent the field as defined by the import format and the record that is being processed during the import.
    Given that, I'm not sure how to answer your question.

  • Import Format script required to update multiple fields

    Further to my previous post yesterday (Import Format script required to work across multiple fields I now need my import script to update multiple (two) fields at the same time, based on criteria set across multiple fields. So far, I can use DW.Utilities.fParseString to assess the values across multiple fields, but I now need to update not only the field in question, but also an additional field at the same time. For example:
    Function TBService(strField, strRecord)
    ' How do I update a second field at the same time?
    Dim strField2 As String
    If Left(strField, 1) = "S" Then
    If DW.Utilities.fParseString (strRecord, 3, 8, ",") = "B1110" Then
    strField2 = "N101"
    Else
    strField2 = "Network N/A"
    End If
    TBService = strField
    Else
    TBService = "Service N/A"
    End If
    End Function
    Is this even possible? Should I be looking at creating an event script which would work post-import? Or can this be done right here in the import script?

    All the logic you require can be encapsulated in the import script for the second field. You don't need to reference the second field in the first import script.
    Edited by: SH on May 2, 2012 5:39 PM

  • Using  FDM Import Action script to import data from ERPI table "tdataseg_t"

    Hi Experts
    I have extracted data from EBS using ERPI and loaded into the intermediate table "tdataseg_t"
    I am trying to use Import Action script within FDM to extract data from "tdataseg_t" table (where ERPI extract data is stored) as i could not use the normal import script.
    Requirement : I have to restrict the custom 2 dimension based on Account dimension.
    Dim Account
    Account = ???? ( i am struck here)
    If Account = 1000 to 5000 Then
    Custom2 = Right( product , 5)
    End If
    but , I could not find the exact syntax to call the Account dimension from the "tdataseg_t" table.
    Please Advise
    Thanks
    Sak
    Edited by: user12292415 on Feb 26, 2012 1:19 AM

    Hello,
    Importing data via a manual script defeats the purpose of ERPi. As it will not provide you an audit trail, drill-through/drill-back, etc.
    Your best bet is to use the default settings by the software. Just because it returns more records than you want is not a bad thing. You can conditionally change/alter the information either in an EventScript inside of FDM or by mapping the un-needed information to IGNORE.
    Thank you,

  • DRM Import, Action Script

    Hi All,
    I am new to Hyperion DRM 11.1.2, I am confused about concepts such as metadata and data still not able to understand difference between them. What I understand is all Versions hold is set of independent hierarchies which have nodes and their property values, which is nothing but metadata.
    Please help me understand difference between data and metadata?
    There are different task groups like Import, Action script and Migration Utility all the these are essentially used for importing metadata and data in the DRM Application.
    Migration Utility - Provides the ability to bulk load metadata and security objects in DRM applications. Other operations which can be performed in migration utility are extract and difference.
    Import- It provides a way to import data in DRM Applications, but it creates new version after import
    Action Script - Used to process a bulk set of changes in an automated fashion.
    Can anyone help me understand best case scenario for when to use which utility to import metadata and data?
    Thanks in advance.
    Regards,
    Aniket

    Migration Utility: When you are trying to Export/Import Properties, Validations, Export Definitions, Import Definitions etc to an XML or from another server.
    Import: This function Imports a whole new Version once you have the load file in a specific Import format that you define.
    Blendor: The Version you imported Can be blended with the Actual current existing version
    Action Script: This is used when updating the current Hierarchies. Like Adding nodes, updating Properties etc.

  • Import Integration Script Needed for Oracle DB

    Hi All!
    Anybody can give me import integration script for Oracle DB if i want to import data directly from DB where i dont need to extract or make Flat file and to keep at specific location location on fdm directory.
    A script which integrates if new location is created in set of books of accounts or any entity will be created in Oracle Apps. and stored in specific db. From where i have staging area where relevent DB with req feilds and records.
    Thanks in Advance
    Regards

    Hello,
    If you review the FDM Workbench Admin Guide there is a sample one already.
    There are only a few differences between Oracle and SQL:
    1. The provider string (which can be generated by looking at a .UDL file in a text editor)
    2. Oracle DB's are case sensitive, and by default everything non-quoted is pushed to uppercase (which is pretty much everything for FDM)
    Thank you.

  • Import Integration Script

    Hello Guys,
    I want to pull the specific data from two different tables from oracle database . what should i do ? is it possible to import data from two different tables using import integration script or i need to write SQL query for this ?
    Any one have sample script for same issue ?

    Hi Vnm,
    See page 91 of the FDM Admin guide at:
    http://docs.oracle.com/cd/E17236_01/epm.1112/fdm_admin.pdf
    Yes you can access multiple sources from an integration script and yes as you are hitting a database you will need to execute a SQL statement as part of the integration script.
    The example on 91 does use SQL which is typical for integration scripts.
    Regards,
    John A. Booth
    http://www.metavero.com

  • Automate Import integration script

    Hi,
    We have import integration script using which we are loading data to FDM.
    I want to know if there is any way to automate load through Integration script. As of now, we are changing POV for all periods and running script to load data to specific periods.
    Do we have any way where in we can automate this so that data gets loaded to all periods for a specific location at once.
    Thanks in advance

    Hi,
    batch loader will help you to automate FDM workflow.
    If you want to automate integration script you will have to create an empty batch file.
    I suggest you make your SQL query dynamic so period extracted is defined based on FDM POV period.
    Hope that helps
    Regards

  • ODBC Driver for Import Integration Script?

    My understanding is that for the Import Integration Script to work with an Oracle database we need to install the Oracle client and an ODBC driver on the FDM server. Since I don't have access to the server, and I'm not the one installing anything, I need to tell the installation group where to find the correct driver. I've seen the DataDirect/Merant driver used in the past. Is that the only odbc driver that works? Does that come with FDM? Where can I find the right driver to install?

    Hello,
    As you know FDM is VB compliant. With that being said most anything that can be done inside of VBScripting can be done inside of FDM. Unfortunately it is not the responsibility of FDM to package/compile all drivers and information ... it probably would just be too large to accomidate.
    If you want to leverage a technology/connection/etc then the respected technology must be installed. So if you are trying to connect to an Oracle DB then the correct software, setup and configuration files must be in place to make that happen.
    In your instance, if you are going to connect to the Oracle DB you have two options:
    1. Native drivers (OLE DB Provider Drivers)
    2. Standard drivers (ODBC Drivers)
    In either situation they must be able to actively and validly connect to the database. You can test the connections to your database by leveraging a test .UDL file and stepping through the connection pieces manually. Once you have determined a connection that will suit your needs you can then save the .UDL file and open it a text-editor to retrieve your connection string.
    Thank you,

  • "Import Failed" when trying to run a import (Integration) script from FDM

    Backgroud about the Issue : My source system for data is Oracle Orion and the Destination is HFM.Trying to import data fom orion to HFM through FDM via ODBC connectivity.
    Modified the "Integration Script Example" in fdm_admin guide and with this i am able to import data from the Orion to the FDM staging table "tDataSegX" however i am not abel to see any data in the FDM (Import Module) and thats when i get this error "Import Failed".
    Posisble casue according to my knowledge : My Import script only includes code to 1.Connect to ODBC data source 2. copies all the values from the Source table to the staging table.
    I am not sure if i am missing some attributes in the script ??!!
    can some one help me in checking if my imoport scritp is correct ??!!!
    Here is my script
    Function Import_int(strLoc, lngCatKey, dblPerKey, strWorkTableName)
    Dim objSS 'ADODB.Connection
    Dim strOra 'Ora string
    Dim rs ' As New ADODB.Recordset
    Dim rsAppend 'tTB table append rs object
    Set cnSS = CreateObject("ADODB.Connection")
    Set rs = CreateObject("ADODB.Recordset")
    Set rsAppend = DW.DataAccess.farsTableAppend("TDATASEG7")
    Dim strconn
    strconn="Provider=msdaora;Data Source=<<Data Source Name>>;User Id=<<Username>>;Password=<<Password>>;"
    cnSS.open strConn
    strOra = "Select * "
    strOra = strOra & "FROM <<Oracle View>>"
    'Get data
    rs.Open strOra, cnSS
    If rs.bof And rs.eof Then
    RES.PlngActionType = 2
    RES.PstrActionValue = "No Records to load!"
    Exit Function
    End If
    'Loop through records and append to tTB table in location's DB
    If Not rs.bof And Not rs.eof Then
    Do While Not rs.eof
    rsAppend.AddNew
    rsAppend.Fields("PartitionKey") = RES.PlngLocKey
    rsAppend.Fields("CatKey") = RES.PlngCatKey
    rsAppend.Fields("PeriodKey") = RES.PdtePerKey
    rsAppend.Fields("DataView") = "YTD"
    rsAppend.Fields("CalcAcctType") = 9
    'write conditions to eliminate null
    rsAppend.Fields("Amount") = rs.fields("YTD").Value
    rsAppend.Fields("Desc1") = test 'rs.fields("txtAcctDes").Value
    rsAppend.Fields("Account") = rs.fields("MAIN_AC_CODE").Value
    rsAppend.Fields("Entity") = rs.fields("COMPANY_CODE").Value
    rs.movenext
    Loop
    End If
    'Records loaded
    RES.PlngActionType = 6
    RES.PstrActionValue = "ODBC Import successful!"
    'Assign Return value
    SQLIntegration = True
    rs.close
    End Function

    HI,
    I first changed the table name to "strWorkTableName" and tried executing only the script from the Workbench client and got error as bellow
    Financial Data Management Workbench
    -2147467259 - Data access error.
    At Line: 20
    OK
    For some reason i am not ok with running the code in the workbench client (even for checking the syntax) because for the reason that i am not sure if all the parameter required by the funciton will be passed by donig just "Run script."So even with this error in the Work bench client i proceded to the Workflow module in the web interface and run the import and here is what i have now.
    Error: An error occurred importing the file.
    Detail: Invalid procedure call or argument
    here is the error message from the "View Erro Log"
    ERROR:
    Code............................................. 5
    Description...................................... Invalid procedure call or argument
    Procedure........................................ clsImpProcessMgr.fExecuteImpScript
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 15676
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... <<ComputerName>>
    App Name......................................... <<ApplicationName>>
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPTDB
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... ORION
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... WLCAT
    Category ID...................................... 12
    Period........................................... Feb - 2011
    Period ID........................................ 2/28/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    ** Begin FDM Runtime Error Log Entry [2011-03-21 14:43:42] **
    ERROR:
    Code............................................. 5
    Description...................................... Invalid procedure call or argument
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 15676
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... <<ComputerName>>
    App Name......................................... <<ApplicationName>>
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPTDB
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... ORION
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... WLCAT
    Category ID...................................... 12
    Period........................................... Feb - 2011
    Period ID........................................ 2/28/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    ** Begin FDM Runtime Error Log Entry [2011-03-21 14:44:05] **
    ERROR:
    Code............................................. 70
    Description...................................... Permission denied
    Procedure........................................ clsArchiveMgr.fArchiveSupercededDelete
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 7180
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... <<ComputerName>>
    App Name......................................... <<ApplicationName>>
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPTDB
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... SAMPLE
    Location ID...................................... 748
    Location Seg..................................... 2
    Category......................................... WLCAT
    Category ID...................................... 12
    Period........................................... Feb - 2011
    Period ID........................................ 2/28/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    ** Begin FDM Runtime Error Log Entry [2011-03-21 14:44:05] **
    ERROR:
    Code............................................. 70
    Description...................................... Permission denied
    Procedure........................................ clsArchiveMgr.fArchiveSupercededFlag
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 7180
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... <<ComputerName>>
    App Name......................................... <<ApplicationName>>
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPTDB
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... SAMPLE
    Location ID...................................... 748
    Location Seg..................................... 2
    Category......................................... WLCAT
    Category ID...................................... 12
    Period........................................... Feb - 2011
    Period ID........................................ 2/28/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    ** Begin FDM Runtime Error Log Entry [2011-03-21 14:44:05] **
    ERROR:
    Code............................................. 70
    Description...................................... Permission denied
    Procedure........................................ clsImpProcessMgr.fClearData
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 7180
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... <<ComputerName>>
    App Name......................................... <<ApplicationName>>
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPTDB
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... SAMPLE
    Location ID...................................... 748
    Location Seg..................................... 2
    Category......................................... WLCAT
    Category ID...................................... 12
    Period........................................... Feb - 2011
    Period ID........................................ 2/28/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    ** Begin FDM Runtime Error Log Entry [2011-03-21 14:44:05] **
    ERROR:
    Code............................................. 70
    Description...................................... Permission denied
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 7180
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... <<ComputerName>>
    App Name......................................... <<ApplicationName>>
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPTDB
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... SAMPLE
    Location ID...................................... 748
    Location Seg..................................... 2
    Category......................................... WLCAT
    Category ID...................................... 12
    Period........................................... Feb - 2011
    Period ID........................................ 2/28/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False

  • Time_out dump error in RSTXSCRP while Importing SAP Script

    Hi Experts,
       I am using RSTXSCRP program for Download and Upload the SAP Form. I am downloading script 'ZF110_HDFC_CHCK' is successfully.
    after that before uploading i open the notepad i replace 'ZF110_HDFC_CHCK' to 'ZF110_HDFC_DM'.
    then in selection-screen i mension the object name is ZF110_HDFC_DM.
    and Mode IMPORT
    while execute the report it taking so much time and they given Dump error.
    How can i solve this?
    Short text
        Time limit exceeded.
    Error analysis
        After a specific time, the program is terminated to make the work area
        available to other users who may be waiting.
        This is to prevent a work area being blocked unnecessarily long by, for
        example:
        - Endless loops (DO, WHILE, ...),
        - Database accesses with a large result set
        - Database accesses without a suitable index (full table scan)
        The maximum runtime of a program is limited by the system profile
        parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If this
         time limit is
        exceeded, the system attempts to cancel any running SQL statement or
        signals the ABAP processor to stop the running program. Then the system
        waits another 60 seconds maximum. If the program is then still active,
        the work process is restarted.
    Line  SourceCde
    1288       rc = 4. exit.
    1289     endif.
    1290   endif.
    1291 endif.
    1292 endform.
    1293
    1294 * IMPORT a style or layout set
    1295 * OBJECT_TYPE is FORM/FORT or STYL/STYT
    1296 form import_formstyl using value(object_type) value(la
    1297 data: rc like sy-subrc,
    1298       olang like thead-tdospras,
    1299       transtat like thead-tdtranstat.
    1300
    1301 perform get_language_vector using language_vector.
    1302 if sy-subrc <> 0. "exit if language vector cannot be r
    1303   nothing = true. subrc = 4. exit.
    1304 endif.
    1305 * invalidate HEADER,LINES
    1306 clear header. refresh lines.
    1307 clear olang.
    1308 transtat = translation_wanted. "default
    1309 perform import_record.
    1310 while end_of_objdata = false and subrc = 0.
    1311   case record-command.
    1312 *   header data
    1313     when 'HEAD'.
    1314       refresh lines.
    1315       header = record-data.
    1316       if header-tdname(16) ne header-tdform.
    1317         if cl_abap_char_utilities=>charsize > 1.
    >>>>>           while header-tdform ne header-tdname(16).
    1319             shift header+85 right.
    Regards,
    Dhina..

    HI,
    Did tried coping the script in se71 by the following path
    se71> Utilities>copy from client then
    Form Name  ZF110_HDFC_CHCK
    Source Client                     000  " Specify client
    Target Form  'ZF110_HDFC_DM
    Regards,
    Madhukar Shetty

  • Import-CSV script to add mobile phone numbers to existing Active Directory accounts

    Hi guys, I'm a powershell beginner and trying to make a simple script to populate the mobile phone number field for a specified number of AD accounts that are currently blank.
    I have a csv file mobilenumbers2.csv with two headers, "samaccountname,mobilenumber".     Underneath the headers I would have "jdoe,3333333333" and so on.
    Here is the script I tried:
    import-csv .\mobilenumbers2.csv -header samaccountname,mobilenumber | ForEach-Object { set-aduser -Identity $_.samaccountname -MobilePhone $_.mobilenumb
    And I'm getting this error when I tried to run it:
    set-aduser : Cannot find an object with identity: 'samaccountname' under:
    'DC=xxxxxxxx,DC=local'.
    At C:\myscripts\addmobilephone3.ps1:1 char:88
    + ... rEach-Object { set-aduser -Identity $_.samaccountname -MobilePhone
    $_.mobilenumb ...
    +                   
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (samaccountname:ADUser) [Set-ADU
       ser], ADIdentityNotFoundException
        + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.
       Management.ADIdentityNotFoundException,Microsoft.ActiveDirectory.Managemen 
      t.Commands.SetADUser
    I can't seem to populate the "identity" switch from the csv file correctly, but if I run the command manually without importing from the csv and type "jdoe" after the identity switch it works....
    Any help would be greatly appreciated,
    Tom
     

    Hi Tom,
    If you already have the header as the first line in your csv file, plrase drop the parameter -Header, please try the script below and feedback:
    import-csv .\mobilenumbers2.csv | ForEach-Object {
    set-aduser -Identity $_.samaccountname -MobilePhone $_.mobilenumber}
    And the input .csv file should list like:
    samaccountname  mobilenumber
    jdoe                     3333333333
    Best Regards,
    Anna

  • Import Format script required to work across multiple fields

    I am currently constructing an Import Format, and using datapump import scripts on several of the fields to implement specific logic based on the values present. For example:
    Function TBNetwork(strField, strRecord)
    If Left(strField, 1) = "N" Then
    TBNetwork = strField
    Else
    TBNetwork = "Network N/A"
    End If
    End Function
    However, I need this to also evaluate the values across other fields too, but the default two inputs for the function are strField and strRecord.
    How can I achieve this? Can I declare new variables and define as follows?
    Dim strCustomer = varValues(23)
    Or do I need to look at implementing a different type of script? Any suggestions would be greatly appreciated!

    strRecord represents the entire data line from your source file that is currently being processed. You can parse this to get any of the values from your data line to use/evaluate in your script. There is an accelarator script DW.Utilities.fParseString which will do the string parsing for you. As you probably know strField only returns the field from the data file that you have specified in your import format for the associated dimension.

Maybe you are looking for

  • Fields appear as "Read Only" in an Int.Form called from a WD

    Hi Experts! I am having a doubt in an Adobe Int.Form, that is called from a WD application. The fields that are in my Form, always appear as a "read only". It is not possible to modify anything there. Here, I describe the steps that I follow. I creat

  • Vpn client radius ad password change

    Hi I've read a few posts about this on the forum and it seems like very few people are able to resolve the issues they are having. I have a working remote access vpn and I'm trying to add the password-expiry functionality.  I've set a test user in AD

  • Can I use SCXI 1000 (110v US model) in 220V 50Hz country?

    Somebody is selling SCXI 1000 with couple modules to me at a very good price. However, it is a US model(110V) while in my region we use 220V 50Hz.  Can I use a fransformer to convert 220V to 110V and use with this chassis? Are there any know issues?

  • Business component

    Hi Everyone, I am new to SAP PI and was practicng some scenarios. I got a doubt while using Business component. For business system, we ll configure details in SLD whereas business component  is an abstract unit.Then,how the created business componen

  • Performance of javac in 1.5 vs 1.4.2

    Our tests indicate javac in JDK 1.5 seems to be quite a bit slower than JDK 1.4.2. I have a test that tries to compile 100 Java files using 1.5 and 1.4.2: #Results from JDK 1.5 javac % /usr/bin/time /dx/oracleom/jdk1.5.0/bin/javac *.java real 40.7 us