Create Document Set with custom Create Only permission set

Here is the situation. We have a requirement where my customer wants to create document sets, however, document set/document level permissions are required.
Setup: We created a new permission level called "Create Only". We then give the user Read and Create only permissions. This allows the user to theoretically create the item. We then run a Workflow on create that Replaces the permissions so that
you are only allowed to view the ones you created along with other security groups based on their choices in the metadata fields.
This setup works PERFECTLY when using a List or Form Library.
However, for the life of me I cannot get it to work for Document Sets. If I have the same setup, I get an Access Denied message. However, it still creates the document set.
What is weird, I've been playing around with custom permission levels and it seems as though the user has to have EDIT permissions at a minimum in order to create the document set. This will not work for me since I dynamically assign permissions to each
document set based on what they select.
As a side note, the only tool I have at my disposal is SharePoint Designer 2010.
Does anyone know if there is an actual requirement to have EDIT permissions when creating a Document Set? Any input would be greatly appreciated.
Alternatively, is there a way to setup permissions on a library for all NT Authenticated users so that we can give them the necessary permissions to create the Document Set, but still prevent them from see the other items and then the Workflow would set
the permissions accordingly?
I believe the more granular the permissions it uses those permissions instead so would this work?  I have not tested this theory yet.

Hi,
According to your description, my understanding is that you want to know if there is an actual requirement to have EDIT permissions when creating a Document Set and is there a way to setup permissions on a library for all NT Authenticated users and prevent
them from seeing items created by others.
For the first question, per my knowledge, if a user is given the Add Items permission, he/she can create a document set in SharePoint.
However, there is an error “access denied” after the document set is created. It is due to the user has no permission to access the page which SharePoint will redirect the user to after finishing creating the document set.
If the user is also given Edit Items permission, there will be no error when he/she create a document set.
For the second question, I recommend to follow the link below to
customize item permissions for each document submitted to a document library and remember to give the
NT Authenticated users contribute permission.
http://blogs.technet.com/b/spke/archive/2010/04/09/configure-item-level-permissions-for-document-libraries-sharepoint-2010-edition.aspx
To grant permission to NT Authenticated users, please refer to the link below:
http://office.microsoft.com/en-in/sharepoint-server-help/what-happened-to-add-all-authenticated-users-HA101805183.aspx
Best regards.
Thanks
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?

    Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?
    Thanks!
    -Adrian

    the old apps are on my computer but they have had upgrades since they were put on the ipod originally.  you think you would get a warning about this when you restored. I was not worried about losing the progress of the apps but i would have been worried about the app it self!!!!!

  • Need to create P.O with reference to only P.R

    2)Need to create P.O with reference to only P.R. Mean without P.R system should not allow to create P.O how to do?

    hi
    try this
    go to SPRO-MM-Purchasing- Authorization Management-Define Function Authorizations for Buyers
    click on Function Authorizations: Purchase Order
    create  a new entry and
    check ref to PR then
    goto SU01 and on parameter tab enter the Parameter id = EFB and parameter value is what you define in the functional authorization key
    Enter the desired key as a parameter under the parameter ID EFB in the user master
    Also make sure that,In OMET in details of function Authorization>Possible ref. objects>Tick only Ref. to purchase requisition and not anything else.
    this way u can restrict the user from creating po with ref to pr

  • Error when Read only permission set when filtering data before loading with Excel 2013 Addin

    Good afternoon :)
    I have an MDS issue that is making me lose my mind.
    I have some permission set to an Entity. It is a read only permission in the entity but I tried to put inside every field and same thing happen.
    Every time an Entity has any kind of read only permission assigned to it or its fields, Excel Addin show an error when we try to load it. When Entity has more rows than the maximum rows in the Settings pane, it will show you an option to filter data. When
    you try to use this filter, Excel show an error message but you can press OK and everything works fine.
    There is the message:
    The thing user, my user do not want it :( And I don't know how to get rid of it.
    Do anyone have an ideia on how to fix it ?
    In the debug set of the addin, there is this message:
    2014-10-22T11:38:42.152        8440 EXCEL.EXE            EXCEL.EXE                               
    Generic          EventType: Error, Message: Unobserved exception in TaskScheduler. Exception:'System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set
    to an instance of an object.
       at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state)
       at Microsoft.MasterDataServices.ExcelAddInCore.ExcelHelpers.ExecuteOnUIThread(SendOrPostCallback callback)
       at Microsoft.MasterDataServices.ExcelAddInCore.DataView.FinalizeUIOperation(Boolean mdsOperation)
       at Microsoft.MasterDataServices.ExcelAddInCore.DataView.<>c__DisplayClass53.<LoadData>b__51(IAsyncResult ar)
       at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
       --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
       at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state)
       at Microsoft.MasterDataServices.ExcelAddInCore.ExcelHelpers.ExecuteOnUIThread(SendOrPostCallback callback)
       at Microsoft.MasterDataServices.ExcelAddInCore.DataView.FinalizeUIOperation(Boolean mdsOperation)
       at Microsoft.MasterDataServices.ExcelAddInCore.DataView.<>c__DisplayClass53.<LoadData>b__51(IAsyncResult ar)
       at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)<---

    Rafael,
    Is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Creating 3d Cube with Custom Texture in CS6

    Hi All,
    Spent the whole day at work, trying to figure out how to create a 3d box in CS6 with custom texture. Before explaining my problem, i saw couple of good 3d onject videos already, they helped me alot and i am close to my target but yet not finished
    Problem:
    I would like to create a 3d product box with custom textures, reflection and shadows. I have my top, front, back and side images in high quality.
    My Solution:
    1- With my box TOP image, i create the 3d layer.
    2- Because it creates the box with the top image looking front, i position it as the top image comes to the top of the box.
    3- I resize the box to the dimensions i would like to.
    4- Side, front and back textures are missing. As its a custom made box, i can only add all of them in one image so i merge them vertically in a file and add the texture in 3d section
    5- With UV scaling, i fit the image perfectly
    6- Adding light and reflections
    7- Render
    Now the main problem is, my images have the exact measures of the real product box and i would like to create a box with these dimensions.
    1- How can i play with the dimensions of the 3d box with numbers, such as pixel or cm ? As i can see, its only with %. Or is there an option so when i add the second image (side, front and back, merged), box's length dimension changes accordingly?
    2- How can i create 3d box and add different textures to different part of the box? I found CUBE MESH PRESET in the forums but no download link, EVEN IN THE DISCCUSION itself
    3- I have a i5-3570 , 8GB Ram, 1GB Radeon HD7750 at work, newly built. I work with high resolution files, and when i create my box and render it, some parts come out blur, why this is happening? At home i have a older PC, and it doesnt happen that much. Where i can modify the render quality or such a thing if it exists?
    Thanks in advance, this bugs me alot, if someone helps with this, i will be really happy !
    Buri

    The long and short version is: Use a 3D program. Blender is free, after all.
    1- How can i play with the dimensions of the 3d box with numbers, such as pixel or cm ?
    You can't. All units in PS are relativeand normalized to the scene.
    2- How can i create 3d box and add different textures to different part of the box? I found CUBE MESH PRESET in the forums but no download link, EVEN IN THE DISCCUSION itself
    That's what 3D-programs and UV layout tools are for. Creating an unfolded cube UV set is a 10 second thing. Here's one: http://www.mylenium.de/_temp/uv_box.zip.
    Where i can modify the render quality or such a thing if it exists?
    Select the Scene root to change the render mode and quality and also check the 3D section in the prefs.
    Mylenium

  • AdvancedDataGrid - create Array (cfquery) with children for hierarchical data set

    I'm trying to create an AdvancedDataGrid with a hierarchical
    data set as shown below. The problem that I am having is how to
    call the data from a ColdFusion remote call and not an
    ArrayCollection inside of the Flex app (as below). I'm guessing
    that the problem is with the CFC that I've created which builds an
    array with children. I assume that the structure of the children is
    the issue. Any thoughts?
    Flex App without Remoting:
    http://livedocs.adobe.com/labs/flex3/html/help.html?content=advdatagrid_10.html
    <?xml version="1.0"?>
    <!-- dpcontrols/adg/GroupADGChartRenderer.mxml -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    private var dpHierarchy:ArrayCollection= new
    ArrayCollection([
    {name:"Barbara Jennings", region: "Arizona", total:70,
    children:[
    {detail:[{amount:5}]}]},
    {name:"Dana Binn", region: "Arizona", total:130, children:[
    {detail:[{amount:15}]}]},
    {name:"Joe Smith", region: "California", total:229,
    children:[
    {detail:[{amount:26}]}]},
    {name:"Alice Treu", region: "California", total:230,
    children:[
    {detail:[{amount:159}]}
    ]]>
    </mx:Script>
    <mx:AdvancedDataGrid id="myADG"
    width="100%" height="100%"
    variableRowHeight="true">
    <mx:dataProvider>
    <mx:HierarchicalData source="{dpHierarchy}"/>
    </mx:dataProvider>
    <mx:columns>
    <mx:AdvancedDataGridColumn dataField="name"
    headerText="Name"/>
    <mx:AdvancedDataGridColumn dataField="total"
    headerText="Total"/>
    </mx:columns>
    <mx:rendererProviders>
    <mx:AdvancedDataGridRendererProvider
    dataField="detail"
    renderer="myComponents.ChartRenderer"
    columnIndex="0"
    columnSpan="0"/>
    </mx:rendererProviders>
    </mx:AdvancedDataGrid>
    </mx:Application>
    CFC - where I am trying to create an Array to send back to
    the Flex App
    <cfset aPackages = ArrayNew(1)>
    <cfset aDetails = ArrayNew(1)>
    <cfloop query="getPackages">
    <cfset i = getPackages.CurrentRow>
    <cfset aPackages
    = StructNew()>
    <cfset aPackages['name'] = name >
    <cfset aPackages
    ['region'] = region >
    <cfset aPackages['total'] = total >
    <cfset aDetails
    = StructNew()>
    <cfset aDetails['amount'] = amount >
    <cfset aPackages
    ['children'] = aDetails >
    </cfloop>
    <cfreturn aPackages>

    I had similar problems attempting to create an Array of
    Arrays in a CFC, so I created two differents scripts - one in CF
    and one in Flex - to build Hierarchical Data from a query result.
    The script in CF builds an Hierarchical XML document which is then
    easily accepted as HIerarchical Data in Flex. The script in Flex
    loops over the query Object that is returned as an Array
    Collection. It took me so long to create the XML script, and I now
    regret it, since it is not easy to maintain and keep dynamic.
    However, it only took me a short while to build this ActionScript
    logic, which I quite like now (though it is not [
    yet ] dynamic, and currently only handles two levels of
    Hierarchy):
    (this is the main part of my WebService result handler)....
    // Create a new Array Collection to store the Hierarchical
    Data from the WebService Result
    var categories:ArrayCollection = new ArrayCollection();
    // Create an Object variable to store the parent-level
    objects
    var category:Object;
    // Create an Object variable to store the child-level
    objects
    var subCategory:Object;
    // Loop through each Object in the WebService Result
    for each (var object:Object in results)
    // Create a new Array Collection as a copy of the Array
    Collection of Hierarchical Data
    var thisCategory:ArrayCollection = new
    ArrayCollection(categories.toArray());
    // Create a new instance of the Filter Function Class
    var filterFunction:FilterFunction = new FilterFunction();
    // Create Filter on the Array Collection to return only
    those records with the specified Category Name
    thisCategory.filterFunction =
    filterFunction.NameValueFilter("NAMETXT", object["CATNAMETXT"]);
    // Refresh the Array Collection to apply the Filter
    thisCategory.refresh();
    // If the Array Collection has records, the Category Name
    exists, so use the one Object in the Collection to add Children to
    if (thisCategory.length)
    category = thisCategory.getItemAt(0);
    // If the Array Collection has no records, the Category Name
    does not exist, so create a new Object
    else
    // Create a new parent-level Object
    category = new Object();
    // Create and set the Name property of the parent-level
    Object
    category["NAMETXT"] = object["CATNAMETXT"];
    // Create a Children property as a new Array
    category["children"] = new Array();
    // Add the parent-level Object to the Array Collection
    categories.addItem(category);
    // Create a new child-level Object as a copy of the Object
    in the WebService Result
    subCategory = object;
    // Create and set the Name property of the child-level
    Object
    subCategory["NAMETXT"] = object["SUBCATNAMETXT"];
    // Add the child-level Object to the Array of Children on
    the parent-level Object
    category["children"].push(subCategory);
    // Convert the Array Collection to a Hierarchical Data
    Object and use it as the Data Provider for the Advanced Data Grid
    advancedDataGrid.dataProvider = new
    HierarchicalData(categories);

  • Can't open/create documents or mount objects (I only get an error message)

    I start with excusing my English, I'm from Sweden...
    When I have been working in Photoshop for a while I suddenly can't open or create documents, I only get an error message in Swedish meaning: Cannot fulfil your request due to a program error. Same phrase appears when trying to mount an object, linked or embedded doesn't matter.
    When using Cmd+O I get this:
    My CC is up to date, what has happened and how can I fix it?

    That is a well know bug in MacOS 10.10, that Apple is aware of and working to solve.
    Basically the Open dialog on MacOS 10.10 has problems that can throw odd error messages back into the host application.  Sometimes it throws a string (like the NSArray error), sometimes it throws just an unknown exception (which Photoshop displays as "program error").
    Some people have had luck avoiding the problem by changing the view in the OS open/save dialog to something else (icons, list, etc.).
    Opening files by double clicking or dragging to the Photoshop icon works and avoids the OS issues in the open/save dialogs.

  • Create windows folder with PL/SQL only

    Hi
    I need to create a folder using PL/SQL only.
    We are using Oracle 10.2.0.1.0
    Thanks.

    No can do. Not with PL/SQL alone. You'd need a Java Stored Procedure and even then, it would create folders on the server.
    Why would you use a database for OS administration?
    Message was edited by:
    maaher

  • Create document library with 2 columns multitext and lookup.

    Remove-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
    Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue
    #To which site u want to create the list 
    $spWeb=Get-SPWeb -Identity http://xyz
    #List type or template 
    $spTemplate = [Microsoft.SharePoint.SPListTemplateType]::DocumentLibrary 
    #Get all the lists to the listcollection
    $spListCollection=$spWeb.Lists
    #adding the new list to the list collection
    $spListCollection.Add("Student1","Student1",$spTemplate)
    #get the path of subsite and sitecollecion 
    $path = $spWeb.url.trim()
    #get the list to the list object
    $spList = $spWeb.Lists["Student1"]
    #adding the field type(Note) to the list
    $spFieldType = [Microsoft.SharePoint.SPFieldType]::Note
    $spList.Fields.Add("COMMENTS",$spFieldType,$false)
    $ParentList = $spWeb.Lists.item("Studentlist")
    $spList = $spWeb.Lists["Student1"]
    $spList.Fields.AddLookup("lookupcol",$ParentList.id,$true)
    $spChildListLookupField = $spList.Fields["lookupcol"]
    $spChildListLookupField.LookupField = $ParentList.Fields["ID"]
    $spChildListLookupField.Indexed = $true
    $spChildListLookupField.RelationshipDeleteBehavior = [Microsoft.SharePoint.SPRelationshipDeleteBehavior]::Restrict
    $spChildListLookupField.Update()
    $Views = $spList.Views["All Items"]
    $Views.ViewFields.Add("COMMENTS")
    $Views.ViewFields.Add("lookupcol")
    $Views.Update()
    $spWeb.Dispose()
    I am trying to create a document library with 2 coulmn types multitext and look up but i am getting the following error 
    I am getting erros - You cannot call a method on a null-valued expression - $spList.Fields.Add("COMMENTS",$spFieldType,$false)
    Cannot index into a null array.
    + $spChildListLookupField = $spList.Fields["lookupcol"]
     

    Hi,
    I used the PowerShell you offered to do a test in my SharePoint 2013 and I reproduced your issue. I solved it by doing a little change to the PowerShell which you offered.
    Because you create a document library, the default view of document library is "All Documents" rather than "All Items", just change 
    $Views = $spList.Views["All Items"]
    to
    $Views = $spList.Views["All Documents"]
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to create contextual event with custom payload?

    I use the following code to invoke contextual event from my region via the "action-listener" of a command-link:
    <af:commandLink text="#{row[def.name]}" id="cl1"
    styleClass="tableLinkActive"
    actionListener="#{backingBeanScope.PanelToConveroFormManager.handleSelectedRow}">
    The following "action-listener" is designed to pass the current selected record key to the "consumer" of the contextual event:
    public void handleSelectedRow(ActionEvent actionEvent) {
    String currentRecordKey = getCurrentRecordKey();
    JUEventBinding eventBinding = (JUEventBinding)BeanUtils.getBindings().get("RefreshParentEvent");
    if (eventBinding != null) {
    ActionListener actionListener = (ActionListener)eventBinding.getListener();
    actionListener.processAction(actionEvent);
    How do I pass the "currentRecordKey" value as a custom "payload" via the event-binding "RefreshParentEvent" in the above code?
    Is there any code example on using contextual event with custom payload?

    Hi,
    the custom payload is referenced when you set up the event itself. You use EL in the custom payload definition to point to a managed bean method that when called accesses the current rowKey. The Java code you show just passes the ActionEvent of the ADF Faces command button and invokes the event. It does not manipulate the event definition.
    <eventBinding id="eventBinding"
                      Listener="javax.faces.event.ActionListener">
          <events xmlns="http://xmlns.oracle.com/adfm/contextualEvent">
            <event name="testEvent"
                   customPayLoad="#{mymanagedBean.rowKey}"/>
          </events>
        </eventBinding>Frank

  • Having templates appear when users click the "New Document" button in a document library with custom content types

    Hi all,
    I'm using SharePoint Online, but I'm seeing the same behavior in an on-prem 2013 instance as well. My situation is this:
    - I've created a document library
    - I've created a custom content type and attached a custom document template to it
    - I've assigned the custom content type to the document library, and disabled the default "document" option
    What I'm expecting to see is that when I browse to the document library and click "new document", that either a) a picklist appears allowing me to specify the document template I want (using the custom template I specified) or b) open the custom
    template itself. That doesn't happen - instead, when I click new document I'm prompted to upload a file, which seems to contradict the whole point of using a custom content type/custom document template combo.
    Am I missing something? The custom template isn't in the Forms library, which seems to be a problem if I wanted to use the custom document template instead of the default.
    Ideally I'd like a menu like the one shown here:
    http://social.msdn.microsoft.com/Forums/en-US/59ce3bd8-bf7f-4872-ae76-60d8c81dfc32/display-content-types-on-new-document-button-in-document-libraries?forum=sharepointgeneral, except with me being able to control the list of items that is shown.
    Any ideas? Thanks!

    Hi Brain,
    What you have done is by design behavior.
    If you want to show the Office document templates list (e.g. below image from your above referenced link) to select when click "+new document" link, this will need to install Office Web App 2013 which provides this feature,
    you can new document and see it is using WopiFrame.aspx page, please see more from below article about how to configure OWA 2013 for SharePoint 2013 on-premise.
    http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • De-Noise setting with custom RAW fine-tuning ?

    If I look at the De-Noise setting when using the Apple default you will notice that it varies with the ISO of the image (Njikon D4). As the ISO increases so does the De-Noise setting. This is often a good thing. If I save my own RAW fine-tuning setting with out touching the De-Noise setting and make it the Default, the De-Noise setting is no longer 'active' and just sits at zero for all ISO settings.
    How do we create a custom preset that will automatically increase De-Noise when the images have a higher ISO?
    JO

    leonieDF wrote:
    How do they differ after the last update? Ithink my Canon EOS 5D Mark II images now need less boost than before.
    I have speculated elsewhere that software and camera manufacturers are pushing hotter and more "Disney-fied" defaults than they have in the past (and that these have always been "unreal").  My experience with a Sony a77 is that the newest RAW upgrade reverses (or calms) this trend.
    The Sony a77 default setting under Apple RAW Compatibility Update 3 was too saturated and too contrasted (locally and globally).  I pulled back Boost to 0.7 and Hue Boost to 0.6, and left the rest the unchanged.  Under RAW Compatibility Update 4.0, I don't have to make as big a change, and settled on Boost=0.93 and HueBoost=0.70.  I also tweaked the other settings -- the biggest change there was putting moire to zero.
    That said -- I am having significant repeatable color problems with my NEC wide-gamut PA271W monitor, so I am going to have to revisit these settings after I resolve that.  I made the new settings based on the Retina display and an NEC 2490WUXi2.  They produce images that look great.  I have not printed any yet, but getting matching prints has not been a problem in the past.
    Do you change any settings other than Boost and Hue Boost?

  • Create BP and then customer create without company code

    Hi,
         I have some problem with the business partner to create customer. When I create a bp the process create automatically the customer but with out the company code, sales org., distrisbution and division.
         I try to find the best way to do it, I try the TCode FLBPD1 and FLBPD2 but no more luck.
    Appreciate your advice.
    Thank you.

    Hi Andre,
    If I understood your requirement correctly, when you're creating BP in the foreground, you want the corresponding customer to be created in the background automatically.
    Ensure that the following configuration is maintained for BP- Customer automatic determination:
    Step1: Define BP number range:
    Business Partner>> Relevant settings for Business Partner in RE Context>> General Settings for Business Partner>> Business Partner>> Number range & Groupings>> Define number range.
    Step2: Define Groupings & assign number range:
    Business Partner>> Relevant settings for Business Partner in RE Context>> General Settings for Business Partner>> Business Partner>> Number range & Groupings>> Define groupings & assign number range.
    Step3: Assign account group to the customer:
    Flexible Real Estate Management (RE-Fx)>> Business Partner>> Business Partner- Customer>> Number Assignment: Assign Account Group to Customer
    Step4: Automatic creation of customers (Company-code dependent):
    Flexible Real Estate Management (RE-Fx)>> Business Partner>> Relevant settings for Business Partner in RE Context>> Business Partner - Customer>> Standard Values for Autom. Creation of Customers (Company-Code-Dependent)
    Ensure the company code is maintained  with Real Estate Contract Application Category in this node.
    Step5: Check the field groupings is correctly matched to the BP type:
    Flexible Real Estate Management (RE-Fx)>> Business Partner>> Basic Settings>> Field Groupings>> Configure Field Attributes per Business Partner Type.
    Hope this helps to you.
    Thanks
    Shantanu Kar

  • How do I set up new Document Profile with custom page sizes?

    I see that different profiles have different sets of page sizes. I need a set of page sizes which I use often, and I would like to create a set of these sizes in a new profile, or at least somehow add them to the very minimal set of page sizes which can be selected when setting up a new document. Can this be done?

    Thanks Jerron, I have done this but it only adds one document at one size to the list of presets. The list of sizes that comes with it is the same as the preset it was created from originally. What I would like to do is add to the list of sizes which comes with any one of the document presets or create a new one with a new list of sizes.

  • How to create XML element with out creating a document

    I ve been looking for hours for a method to create an XML element without the need for the Document. I am trying to create objects that access the database, and I need in each of these objects a method that returns only an element (ie. getXMLData()). And in the class that created these object, I nee to call the getXML() methods and construct a document. However, I am not looking to create the document if I am not going to use it. In the component class I need to be able to traverse the xml element and read and modify the values. Is there a way to do so with sun's JDK ?

    I ve been looking for hours for a method to create an
    XML element without the need for the Document.
    ... I am not looking to create the document if I
    am not going to use it.Hi M-A,
    Though you have been told the solution, let's stick to your original issue, just for the sake of interest. I gather what you have in mind is finding the answer to the following question: is there a way of creating a document without having to bind it to any data source? The answer is yes. What you might need is the createDocument() method of the DOMImplementation interface which offers lightwight document handling by obviating the need to construct a particular DOM instance. (You could also use the getDOMImplementation() method of the DOMImplementationRegistry interface, but it has bugs.) Here's a sample code:DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder parser = factory.newDocumentBuilder();
    DOMImplementation domImpl = parser.getDOMImplementation();
    Document doc = domImpl.createDocument(null, "rootnode", null);The above code produces the following document:<?xml version="1.0" encoding="UTF-8"?>
    <rootnode/>You can make this document even skinnier if you pass null values to all three parameters of the createDocument() method, in which case the document will only contain the prolog. I think both the creation and the structure of this document are simple enough for you to use it as some sort of utility (e.g. by putting the code in a separate class) for creating elements.

Maybe you are looking for

  • How to strip text formatting from text field value ??

    Hi everyone, Have tried to get some info on this but no luck.... I've created a simple contact form in Flash, but the URL which it's generating contains the text formatting from the text input fields. As a result the script that processes the mail se

  • Separate Apple Hardware Test DVD for MacBook Pro original??

    Hey Folks, I'm trying to verify whether or not the MacBook Pro came with the Apple Hardware Test as a separate DVD disk. The "MacBook Pro" Install disk references it but I can't seem to find the software on that DVD. Any guesses out there would be ap

  • SAP / ABAP Query - using logical database

    Hi , We have a mandate to implement SAP Query using only Logical Databases (LDB ) . We understand that there are several issues using this approach . 1 ) Paralled tables in MM need to be displayed on separate lines . 2 ) Statistics based on fields fr

  • Browsers do not remember realm authentication details

    Hello, When I try to access pages in a protected realm, I sometimes have to enter the username nad password 5 or more times. Sometimes just twice. Even if I tell my browser to remember the password/username, it still prompts me to authenticate later

  • RERAOP: With balance sheet account line item

    Hi While posting RERAOP with activity simulating 'Vendor Invoice Distrib. to ROs' standard activity, I'm getting the message 'Enter an account assingment object for posting to bal. sheet account XXXXX'. Please advice. Configuration of G/L Account lin