Unable to add XML files to genericObjects Folders using Webdav - cFolders

Hi All
I am not able to add XML files to genericObjects Folders using Webdav in cFolders
What could be the reason.. When I try to copy, it says "cant read from source file"
Regards,
Aby

Yes.. I downloaded the ECN.XML file from se80, edited and then used "Uplload and replace"..
Also I did the same thing to add some more vocabulary in the cfx text XML, so that it would reflect correctly to map with Additional attributes in the PDX profile.
Regards,
Aby

Similar Messages

  • Unable to add aspx file to document library using REST and JSOM in SharePoint Hosted App

    Hi,
    I am unable to add an aspx file to document library.  I was actually trying to create a WIKI page and upload to Pages library but that wasn't working so I tried simple document library.  It keeps failing with Access Denied error.  I have checked
    the blocked types and aspx is not included.  I can upload it directly from the browser so that shouldn't be the case.  I have read that it can be achieved with CSOM but I need this to work with a SharePoint Hosted App.  Here is my JSOM:
    factory = new SP.ProxyWebRequestExecutorFactory(appweburl);
        context.set_webRequestExecutorFactory(factory);
        appContextSite = new SP.AppContextSite(context, hostweburl);
        oWeb = appContextSite.get_web();
        oList = oWeb.get_lists().getByTitle('Documents');
        fileCreateInfo = new SP.FileCreationInformation();
        fileCreateInfo.set_url("mywiki.aspx");
        fileCreateInfo.set_content(new SP.Base64EncodedByteArray());
        fileContent = "<%@ Page Inherits=\"Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c\" %> <%@ Reference VirtualPath=\"~TemplatePageUrl\"
    %> <%@ Reference VirtualPath=\"~masterurl/custom.master\" %>";
        for (var i = 0; i < fileContent.length; i++) {
            fileCreateInfo.get_content().append(fileContent.charCodeAt(i));
        newFile = oList.get_rootFolder().get_files().add(fileCreateInfo);
        context.load(newFile);
        context.executeQueryAsync(function () {
            alert('yo');
        }, function (sender, args) {
            alert(args.get_message() + '\n' + args.get_stackTrace());
    If I change the file extension to "txt", it works.  Same with REST implementation, it works with "txt" but fails with "aspx".  Maybe what I am trying to do will not work using JSOM or REST.  Any suggestions?  Your
    help is always appreciated.
    Regards,
    kashif

    Your code works fine in both my on-premises and SharePoint Online. I have given the app full control, so I suspect this is a permissions issue. I would check your permissions on your appmanifest. Must be something to do with publishing permissions. Try
    giving full control and work the permissions down.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • EhP1 - Unable to create XML file in Solman

    Hi all,
    I need some assistance
    I am trying to upgrade our XI system to EhP1 - SP04. I use Maintenance Optimizer in our Solution Manager (SAP EHP 1 for SAP Solution Manager 7.0) to select the necessary files for my upgrade. The XI system has been set up in SMSY an given a Logical Component. Also, added to the Solution Landscape. I use the SAPehpi-installer to upgrade XI.
    However, when I get to section three, I am supposed to provide the SMSDXML.xml file. This file is not created by our Solution Manager for some reason. The file, as I understand it, is supposed to be generated automatically during Maintenance Optimizer. But when I check the EPS and EPS/in folder of our solman, the file is not to be found. I have also checked the parameter DIR_EPS_ROOT in RZ11. It is correct. The authorization has been set to full on group Everyone, just to check if that could be the problem, but with no luck.
    When I use transaction /n/tmwflow/mopz_stack i am able to view the XML file (I assume that it is the correct file), but any attempt to copy the text displayed, and to save it as an XML-file has not resulted in any success.
    The only thing I have to go on, is a warning displayed in Maintenance Optimizer, stating: "Warning - No SLM configured in system - <SID>. Every document etc, Iu2019ve read sais that one can use Software Lifecycle Manager as an alternative to Download Basket. I havenu2019t seen SLM listed as a prereq, so I donu2019t believe that this could be the reason why the XML-file is not generated.
    Is there some setup/configuration Iu2019ve missed?
    Any help will be much appreciated!
    Best Regards,
    Stian
    Notes checked:
    1134872 FAQ for stack Delta Files
    1022704 Upgrade phase EHP_INCLUSION and SPSTACK_REQUEST
    1277035 Solution Manager: EHP4 product data missing

    I downloaded the SPSTab.xml from SMP, but it didnt work. It gave an error: "The selected configuration file ("C:EHP1SPSTab.xml") is not usable. Reason: "Stackfile not found""
    I have used the dockument in the link you provided as a basis for my upgrade. So I still need this to work in order to upgrade my XI Netweaver 7.0 to Enhancement Package 1...
    In the document you provided:
    Section 3 SAP Solution Manager
    3.1 Support Package Level of SAP Solution Manager (Check - Mine is EHP1)
    3.2 System Landscape (SMSY) of SAP Solution Manager (Check - as stated above in opening post)
    3.3 SAP Solution Manager Maintenance Optimizer (Check)
    3.4 SAP Solution Manager Troubleshooting: (Check)
    3.4.4 No Stack Configuration File is generated: This is the core of my problem... I have read the notes listed, and run the IMG activity under Maintenance Optimizer, as per note 1134872. I get an warning stating "SAP ChaRM auto-configuration warnings" This could be the source of the problem, but in the thread Re: Message no. IMG_FASTCONF028  in Charm SolManiac says that it is nothing to worry about.
    So to summarise:
    I an still unable to generate XML file in Solman, and I am uable to get the XML downloaded from SMP to work with SAPehpi.
    BR
    Stian
    (EDIT: I am however not shure if the settings under SMSY etc are 100% correct, but in my mind, that should prevent Maintenance Optimizer from generating the XML file)
    Edited by: Stian Eiken on Jul 13, 2009 1:18 PM

  • Unable to add xml-apis.jar

    When ever i add xml-apis.jar to the oracle application server as part of deployment of my application, the server gives the following error when i want to log into the application server control.
    This OC4J is configured to make JMX connections via RMIS and fall back to RMI if the RMIS port is not configured. The RMIS connection on the OC4J instance home on Application Server test.10.224.1.158 is configured but a connection could not be established. The JMX protocol is specified by the oracle.oc4j.jmx.internal.connection.protocol property in opmn.xml

    let follow your post on unable to add xml-apis.jar
    regards
    Tugdual Grall

  • Unable to create a file in Application Server using OPEN DATASET stattement.

    I am unable to create a file in Application Server using the following statement.
    OPEN DATASET filename FOR OUTPUT
    IN TEXT MODE ENCODING DEFAULT
    MESSAGE msg.
    The message I'm getting is "Permission Denied". I have checked authorisation using SU53 which says "The last authorization check was successful". Please help.

    You can use following code to capture the error.
    TRY.
          OPEN DATASET filename FOR OUTPUT IN BINARY MODE MESSAGE V_MSG.
          CATCH CX_ROOT
          INTO EXCEPTION.
          CALL METHOD O_EXCEPTION ->IF_MESSAGE~GET_TEXT
            RECEIVING
            RESULT = V_MSG.
          MESSAGE v_msg
          TYPE 'E'.
    ENDTRY.
    You can capture error in v_msg.
    Following are the exceptions for the same:
    Exceptions
    Catchable Exceptions
    CX_SY_FILE_OPEN
    Cause: The file is already open.
    Runtime Error: DATASET_REOPEN
      CX_SY_CODEPAGE_CONVERTER_INIT   
    Cause: The desired conversion is not supported. (Due to specification of invalid code page or of language not supported in the conversion, with SET LOCALE LANGUAGE.)
    Runtime Error: CONVT_CODEPAGE_INIT
    CX_SY_CONVERSION_CODEPAGE
    Cause: Internal error in the conversion.
    Runtime Error: CONVT_CODEPAGE
    CX_SY_FILE_AUTHORITY
    Cause: No authorization for access to file
    Runtime Error: OPEN_DATASET_NO_AUTHORITY
    Cause: Authorization for access to this file is missing in OPEN DATASET with addition FILTER.
    Runtime Error: OPEN_PIPE_NO_AUTHORITY
      CX_SY_PIPES_NOT_SUPPORTED   
    Cause: The operating system does not support pipes.
    Runtime Error: DATASET_NO_PIPE
    CX_SY_TOO_MANY_FILES
    Cause: Maximum number of open files exceeded.
    Runtime Error: DATASET_TOO_MANY_FILES   Non-Catchable Exceptions   
    Cause: An attempt was made to open a pipe that is already open.
    Runtime Error: DATASET_PIPE_POSITION
    Hope that will help you.
    Please reward if useful.

  • How to read from a xml file(in String format) using a java program

    hi friends
    i have a string , which is xml format. i want read the values and display it.can any one suggest how to read a xml file of string format using a javaprogram
    thanks

            final DocumentBuilder db =  DocumentBuilderFactory.newInstance().newDocumentBuilder();      
            final InputStream documentStream = new ByteArrayInputStream(documentXMLSourceString.getBytes("utf-8"));
            final Document document = db.parse(documentStream);

  • How to send XML file to https server using POST

    Hi, I am having an requirement, that I have to connect to https server and I have to pass an input XML file as a response server will give me output XML file.
    The certificate validation part is over, I am using FileInputStream to read the XML file and attaching this to connection.getOutputStream(); but server is throwing me DTD does n't match.
    Can any body tell me how to send XML file, I have to use any DOM parser to send the XML file, suggest me and give me sample code.
    Thanks,

    Can anybody give me the solution

  • How to add js files to sharepoint page using sharepoint designer

    how to add js files to sharepoint page using sharepoint designer

    Upload the files to your site collection into the site assets library or into the style library, depending on perference.
    Then you can include the JS files either in the master page, page tempalte or using web parts.

  • Add xml file to classpath

    Hi all,
    Can someone tell me how I can add a xml file to my class path.
    I have add some thirth party jar files to my application but I need also the license xml in my classpath.
    Kind regards,
    Richard

    Hi Richard,
    to access the mention xml file from an EJB module the procedure would be:
    - package the XML file in a JAR, say myxml.jar
    - add myxml.jar to an existing or newly created library
    - let your app reference this library
    Regards
    Gregor

  • I am unable to add video files to my itunes library

    I have been trying to add videos to my itunes library for a few hours now, i have the correct format MPEG-4's as stated on here as the correct format, but when i go to add them nothing comes up and im wondering why ?

    HI.Andrew.  Thanks for the reply.  I think there has been misunderstanding and I am sorry about it.  I am not streaming from my computer using Twonky.  I have videos on my networked EZ drive in a media shared folder called movies.  I also have photos in other folders as well which have no problem streaming.   A majority of these videos (nearly 99%) are in the latest .m2TS or MPEG-4 format (from  my video camera) and about 8 of them are in the MPEG-1 format.  I used to be able to use my networked SOny Blu-Ray player to stream these videos (any format) to my TV  and watch them, till this february when i updated my firmware.  It does not need my laptop to be on for that (hence not media integrationissues).  After my firmware update, the only video that plays are the eight MPEG-1 format videos.  Very strange.  I have no problem streaming photos or music from the EZ drive.  I think I might have confused you with the Twonky thing, because on the EZ drive's manager window on the browser, after selecting "Media server" settings, I used to see a twonky server against my laptop PC in the table of connected devices (for media integration), which I now understand was because of media integration of the laptop.  So please ignore that.  I now get the message "no playable file found" when I try to stream videos from the EZ drive through my Blu-Ray player.  I do see the Lenovo-EMC2 icon on my Blu-ray players video channels, clicking on it does show me folders, but it cannot find any playable file, while earlier it used to play those same files.  I dont understand what happened.  I am hoping you can throw some light on this issue. 

  • WRT54GX4 unable to retrieve XML files

    I'm trying to retrieve XML files through a subversion network.  When I try through the router WRT54GX4, I get a response that the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.  I know it is not my service provider because if I connect to the service directly through my cable modem, I'm able to retrieve the files.  I thought the problem was initially with the subversion network, however I ran into a similar problem in trying to download XML as part of the installation process to install the Android simulator.  I have PPTP Pass through, IPSec Pass through and L2TP Pass through all enabled.  Firewall protection is enabled, but I've tried the download with it disabled.  Firmware version is 1.00.20.  I've reset the router and started from scratch and nothing seems to work.
    Any thoughts on what the problem could be? 

    Back again.  I upgraded the firmware..now using 1.00.17 and reset the router back to the factory settings.  I tried again and received the same message.  Turns out the server I'm trying to access is actually hosted by a 3rd party.  So I'm using VPN to tunnel into my work network, then I need to connect to go through a second VPN tunnel to get to this server.    Therefore I believe that the router is unable to tunnel through to that section location.  If I take the router out of the equation and connect to my modem then I can connect just fine.

  • Unable to find xml file in build release

    Hi........
    I have developed a dashboard application in flex
    I have taken a xml file in that i put the server ip address assets/path.xml
    <path>
        <server>http://coolapps.cybertech.com/geocommunicator/Incidents/GetIncidentsBetweenDates?</server>
        <image>http://coolapps.cybertech.com/geocommunicator/Incidents/GetImage/</image>
        <audio>http://coolapps.cybertech.com/geocommunicator/Incidents/GetAudio/</audio>
    </path>
    in main application im using this as follows
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" preinitialize="loadXML()" creationComplete="init()" xmlns:local="*"
         paddingBottom="5" paddingLeft="0" paddingTop="0" paddingRight="0"
         width="100%" height="100%" verticalGap="2" backgroundColor="#FFFFFF">
         in loadXML() im using mx.rpc.http.HTTPService, with this im giving the url path as "assets/path.xml" and getting the server IP address
         after getting IP address im saving them in AS class and binding them in main application
         in init() by using this server IP address im connecting to the remote server
         it's working fine when im running this application in Flex Builder
         but after taking the build release it's unable to locate the "assets/path.xml" file here it's giving me the fault event

    Dear,
    I have to create a Format tree in DMEE for HSBC Bank for belgium country.
    Can you explain me how it is possible?
    Rgds
    Murali. N

  • Unable to add XML and Webservices Datasource in Crystal Reports

    Hi,
        when I am trying to add a Web service datasource upon clicking the XML and Webservices Datasource in Database Manager I get the following error.
    Invalid Arguments Provided.
    Details: Java server startup failure. Verify PATH (JDK), CLASSPATH, and IORFileLocation properties in the CRConfig.xml file. In addition, verify that you are using JDK 1.5.
    I am using Windows server 2003 OS. Java is version 1.6. I tried the below things but none of them worked.
    1.Edit the crconfig.xml file to add classpath and license information
    2.reverted to java 1.5
    3.uninstalled and installed the CR 2008 software. None of these worked. Please help.

    Thanks Don but my issue is not proxy related.
                        I am not using a proxy though I am using a VPN to be in the network of the Webservice hosting server. Also, my problem is that I am not able to even enlarge the XML and Webservices Data source to add any xml or web service file let alone the one I want to.
    Edited by: iamkhader on May 10, 2010 7:26 AM

  • Unable to parse xml file

    public class DOMEcho1 {
         static Document document;
         static String FILE_NAME = "slideSample01.xml";
         public static void main(String[] args) {
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              Node node = null;
              try{
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   document = builder.parse(new File(FILE_NAME));
                   node = document.getParentNode();
              catch(SAXException e) {
              catch(ParserConfigurationException e) {
              catch(IOException e) {
    }the XML file:
    <?xml version='1.0' encoding='utf-8'?>
    <!-- A SAMPLE set of slides -->
    <slideshow
    title="Sample Slide Show"
    date="Date of publication"
    author="Yours Truly"
    >
    <!-- TITLE SLIDE -->
    <slide type="all">
    <title>Wake up to WonderWidgets!</title>
    </slide>
    <!-- OVERVIEW -->
    <slide type="all">
    <title>Overview</title>
    <item>Why <em>WonderWidgets</em> are great</item>
    <item/>
    <item>Who <em>buys</em> WonderWidgets</item>
    </slide>
    </slideshow>
    I was unable to parse this xml file properly. When I called the method "getParentNode" it returns me a null value.
    Anyone out there please guide me how to parse this xml file or advice me on the additional tasks I need to perform before I can start parsing.
    Your advices will be greatly appreciated, thanks!

    The documentation for getParent Node says:
    All nodes, except Attr, Document, DocumentFragment, Entity, and Notation may have a parent.
    I think what you want is getDocumentElement to get the root element (slideshow in your case).
    Dave Patterson

  • c:import tag unable to load xml file

    I'm using weblogic 8.1 sp5. This is how my jsp looks like:
              <%@ taglib uri="/WEB-INF/x" prefix="x" %>
              <%@ taglib uri="/WEB-INF/c" prefix="c" %>
              <c:import url="/WEB-INF/ADVLSOG6Request.xml" var="file" />
              I get an error message in the console window that says, "included resources or file "/lwise/WEB-INF/ADVLSOG6Request.xml" not found from requested resources /lwise/pages/ADVRequest.jsp"
              The xml file is under WEB-INF directory. I've even tried putting this file in the same directory as jsp i.e. /lwise/pages/ and changes the c:import tag to <c:import url="ADVLSOG6Request.xml" var="file" /> so that it can locate it but to no avail. I've tried deploying both as war module and exploded directory but still gives me the same error. I'm using JBuilder Enterprise 12 as my IDE - jsp 1.2. Any idea how can I load this class using this tag? or why it cannot see it? Thanks.

    LightWorker wrote:
    I haven't tried to update the firm ware yet, but this is probably my next move.
    The paper says
    “Unable to set attribute” error message will be displayed. Run the CameraValidator.exe utility with the “/ATTRIBUTES” flag to detect which attributes are generating errors and contact your camera vendor for a new and updated version of the camera firmware. 
     I've run the CameraValidator.exe but it couldn't find the camera or the attributes.
    Also check the firmware version

Maybe you are looking for