How to check in document in default storage when using CV01N?
Hi community!
I was in the process of configuring content server for an ECC 6.0.
I had installed the content server version 4.6 in a separate system and its working well.
Then i finished all the configurations relating to creation of repository and linking it to content server through CSADMIN. I am setting in DC10 use KPRO. In transaction spro Cross-Application Components --> Document Management --> General Data --> Define Profile. I am create a profile, which can be assigned either to a role. Under "Determine definitions for applications" i am define a storage category to a workstation-application. However, when I go to CV01N, and try to check in a new document i did not even get the drop down list instead of my default value. Saves if I manually select "Check In". Am I missing a step??
Edited by: Igor Polushkin on Apr 15, 2010 1:55 PM
Hi Igor,
If there is no profile based on user-id then it calls FM SUSR_USER_AGR_ACTIVITYGR_GET to check if there are any roles existing with the user-id assigned to it. For example: it returns one role.
Now if this role is assigned to two different profiles, then the system picks anyone profile and accordingly use the settings maintained to this profile.
Please make sure that if a user-id is assigned to more than one role and both these roles is used in different profiles then in this case you have to explicitly mention the user-id in the profile directly rather than using only the role name.
Below is the explanation with example :
Consider that USER_1 is assigned to ROLE_1 and ROLE_2. And this USER_1 is linked to two different profiles using these roles. If you want that USER_1 should use Profile_1 please make the settings as below :
Profile_Key Role User Name
Profile_1 ROLE_1 USER_1
Profile_2 ROLE_2 -
The below settings does not work, as system can pick wrong profile.
Profile_Key Role User Name
Profile_1 ROLE_1 -
Profile_2 ROLE_2 -
I hope this information could be useful for you and help to get your profile settings work.
Another solution for controlling which storage category will be choosen is to use an implementation of BADI DOCUMENT_STORAGE01 with method BEFORE_LIST_STORAGECAT.
Best regards,
Christoph
Similar Messages
-
How to check A document library that has document publishing enabled and content approval
HI
1) how to check A document library that has document publishing enabled
2)A document library or a list that has content approval enabled
adilFor both question, check version settings of that library
>>1)Document Version History "Create
a version each time you edit a file in this document library?" should set to either create major versions or Create
major and minor (draft) versions.
http://office.microsoft.com/en-us/sharepoint-server-help/publish-or-unpublish-a-version-of-a-file-HA101862529.aspx
>>2)Content Approval "Require
content approval for submitted items?" should be set to Yes
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
How to check the resolution of a pdf file using Acrobat 9 pro?
How to check the resolution of a pdf file using Acrobat 9 pro?
PDF files don't have one resolution, but may have none or many different resolutions, one per image. You can check the maximum/minimum resoluion with preflight in Acrobat Pro, but not in Adobe Reader.
-
Hi,
The requirement is to create ""Document Sets in Bulk" using JSOM. I am using the following posts:-
http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1904cddb-850c-4425-8205-998bfaad07d7/create-document-set-using-ecma-script
But, when I am executing the code, I am getting error "Cannot read property 'DocumentSet' of undefined "..Please find
below my code. I am using Content editor web part and attached my JS file with that :-
<div>
<label>Enter the DocumentSet Name <input type="text" id="txtGetDocumentSetName" name="DocumentSetname"/> </label> </br>
<input type="button" id="btncreate" name="bcreateDocumentSet" value="Create Document Set" onclick="javascript:CreateDocumentSet()"/>
</div>
<script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"> </script>
<script type="text/javascript">
SP.SOD.executeFunc('sp.js','SP.ClientContext','SP.DocumentSet','SP.DocumentManagement.js',CreateDocumentSet);
// This function is called on click of the “Create Document Set” button.
var ctx;
var parentFolder;
var newDocSetName;
var docsetContentType;
function CreateDocumentSet() {
alert("In ClientContext");
var ctx = SP.ClientContext.get_current();
newDocSetName = $('#txtGetDocumentSetName').val();
var docSetContentTypeID = "0x0120D520";
alert("docSetContentTypeID:=" + docSetContentTypeID);
var web = ctx.get_web();
var list = web.get_lists().getByTitle('Current Documents');
ctx.load(list);
alert("List Loaded !!");
parentFolder = list.get_rootFolder();
ctx.load(parentFolder);
docsetContentType = web.get_contentTypes().getById(docSetContentTypeID);
ctx.load(docsetContentType);
alert("docsetContentType Loaded !!");
ctx.executeQueryAsync(onRequestSuccess, onRequestFail);
function onRequestSuccess() {
alert("In Success");
SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
alert('Document Set creation successful');
// This function runs if the executeQueryAsync call fails.
function onRequestFail(sender, args) {
alert("Document Set creation failed" + + args.get_message());
Please help !!
Vipul JainHello,
I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
Value cannot be null.Parameter name: context"...
Also, I tried removing SP.SOD.executeFunc
from my code, but no success :(
Kindly suggest !!!
Vipul Jain -
How to check table is NULL or not when a form load?
How to check table is NULL or not when a form load?
I want to make the form when it load it check the data in table, if there are no data in table other form will be load.
Sorry for bad English...Maybe you can do this in form1's Form_Open event:
if dcount("*", "table1") = 0 then
Cancel = True
Docmd.Openform "form2"
end if
-Tom. Microsoft Access MVP -
How to check status of a particular port by using netstat command?
How to check status of a particular port by using netstat command?
I want to check port 443 in my server is open or not, is there any other way to check port via commandline?Hi,
You can run the below command in an administrator command prompt on the server:
netstat -ano|findstr ":443"
-TP -
Revision: 10545
Author: [email protected]
Date: 2009-09-23 13:33:21 -0700 (Wed, 23 Sep 2009)
Log Message:
Make DataGrid smarter about when and how to calculate the modulefactory for its renderers when using embedded fonts
QE Notes: 2 Mustella tests fail:
components/DataGrid/DataGrid_HaloSkin/Properties/datagrid_properties_columns_halo datagrid_properties_columns_increase0to1_halo
components/DataGrid/DataGrid_SparkSkin/Properties/datagrid_properties_columns datagrid_properties_columns_increase0to1
These fixes get us to measure the embedded fonts correctly when going from 0 columns to a set of columns so rowHeight will be different (and better) in those scenarios
Doc Notes: None
Bugs: SDK-15241
Reviewer: Darrell
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/browser/DataGrid
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-15241
Modified Paths:
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase .as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.asHi Matthias,
Sorry, if this reply seems like a products plug (which it is), but this is really how we solve this software engineering challenge at JKI...
At JKI, we create VI Packages (which are basically installers for LabVIEW instrument drivers and toolkits) of our reusable code (using the package building capabilities of VIPM Professional). We keep a VI Package Configuration file (that includes a copy of the actual packages) in each of our project folders (and check it into source code control just as we do for all our project files). We also use VIPM Enterprise to distribute new VI Packages over the network.
Also, as others have mentioned, we use the JKI TortoiseSVN Tool to make it easy to use TortoiseSVN directly from LabVIEW.
Please feel free to contact JKI if you have any specific questions about these products.
Thanks,
-Jim -
How do I have my phone Make sound when using "Find my phone" app
How do I have my iPhone make sound when using "find my. Phon" app?
You can have the app send you an email when it is found, and you can set your email tone under settings-> sounds
-
How do I resolve "error processing your request" when using the download link in My Orders for photoshop 5
As Jeff already hinted at, try a different browser. Such issues almost always are local problems on your end. Something is either changing or blocking the HTTP headers used for forwarding (could be your router, a desktop firewall or other security tools) or a JavaScript is not running/ being blocked.
Mylenium -
How to add interface to customlize MXML Component when use Flex Builder 3?
How to add interface to customlize MXML Component when use
Flex Builder 3?David,
I don't believe you can add the interface via the creation
dialog in FlexBuilder 3. You can always manually add the
"implements" property to your MXML Component root tag. Something
like this: <mx:VBox implements="com.mycorp.IMyInterface">
If you want autogeneration of the interface, then create an
ActionScript class with that interface and then copy the generated
functions and setter/getters into the script block of your MXML
component. -
How to turn OFF trackpad on MacBook Air when using Magic Trackpad
How to turn OFF trackpad on MacBook Air when using Magic Trackpad. Anyone have a clue on how to do this?
Do you get more than one trackpad in system preferences? If not, which trackpad does it show in the "movie" in Preferences?
-
How do I create columns in my text when using pages?
How do I create columns in my text when using pages?
Presuming you are using Pages 5.2.2:
select the text > choose the number of columns in the Format > Layout sidebar
Peter -
How do i get passed the billing step when using my apple id to download apps
how do i get passed the billing step when using my apple id to download apps on my ipod touch
DId you enter a valid payment method?
-
How to parse XML document with default namespace with JDOM XPath
Hi All,
I am having difficulty parsing using Saxon and TagSoup parser on a namespace html document. The relevant content of this document are as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div id="container">
<div id="content">
<table class="sresults">
<tr>
<td>
<a href="http://www.abc.com/areas" title="Hollywood, CA">hollywood</a>
</td>
<td>
<a href="http://www.abc.com/areas" title="San Jose, CA">san jose</a>
</td>
<td>
<a href="http://www.abc.com/areas" title="San Francisco, CA">san francisco</a>
</td>
<td>
<a href="http://www.abc.com/areas" title="San Diego, CA">San diego</a>
</td>
</tr>
</body>
</html>
Below is the relevant code snippets illustrates how I have attempted to retrieve the contents (value of <a>):
import java.util.*;
import org.jdom.*;
import org.jdom.xpath.*;
import org.saxpath.*;
import org.ccil.cowan.tagsoup.Parser;
( 1 ) frInHtml = new FileReader("C:\\Tmp\\ABC.html");
( 2 ) brInHtml = new BufferedReader(frInHtml);
( 3 ) // SAXBuilder saxBuilder = new SAXBuilder("org.apache.xerces.parsers.SAXParser");
( 4 ) SAXBuilder saxBuilder = new SAXBuilder("org.ccil.cowan.tagsoup.Parser");
( 5 ) org.jdom.Document jdomDocument = saxbuilder.build(brInHtml);
( 6 ) XPath xpath = XPath.newInstance("/ns:html/ns:body/ns:div[@id='container']/ns:div[@id='content']/ns:table[@class='sresults']/ns:tr/ns:td/ns:a");
( 7 ) xpath.addNamespace("ns", "http://www.w3.org/1999/xhtml");
( 8 ) java.util.List list = (java.util.List) (xpath.selectNodes(jdomDocument));
( 9 ) Iterator iterator = list.iterator();
( 10 ) while (iterator.hasNext())
( 11 ) {
( 12 ) Object object = iterator.next();
( 13 ) // if (object instanceof Element)
( 14 ) // System.out.println(((Element)object).getTextNormalize());
( 15 ) if (object instanceof Content)
( 16 ) System.out.println(((Content)object).getValue());
.This program would work on the same document without the default namespace, hence, it would not be necessary to include ns prefix along in the XPath statements (line 6-7) either. Moreover, I was using org.apache.xerces.parsers.SAXParser to have successfully retrieve content of <a> from the same document without default namespace in the past.
I would like to achieve the following objectives if possible:
( i ) Exclude DTD and namespace in order to simplifying the parsing process. How this could be done?
( ii ) If this is not possible, how to include it in XPath statements (line 6-7) so that the value of <a> is picked up correctly?
( iii ) Would changing from org.apache.xerces.parsers.SAXParser to org.ccil.cowan.tagsoup.Parser make any difference as far as using XPath is concerned?
( iv ) Failing to exlude DTD, how to change the lookup of a PUBLIC DTD to a local SYSTEM one and include a local DTD for reference?
I am running JDK 1.6.0_06, Netbeans 6.1, JDOM 1.1, Saxon6-5-5, Tagsoup 1.2 on Windows XP platform.
Any assistance would be appreciated.
Thanks in advance,
JackHere's an example of using a custom EntityResolver with the standard DocumentBuilder provided by the JDK. The code may or may not be similar for the parsers that you're using.
import java.io.IOException;
import java.io.StringReader;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import org.xml.sax.EntityResolver;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
public class ParseExamples
private final static String COMMON_XML
= "<music>"
+ "<artist name=\"Anderson, Laurie\">"
+ "<album>Big Science</album>"
+ "<album>Strange Angels</album>"
+ "</artist>"
+ "<artist name=\"Fine Young Cannibals\">"
+ "<album>The Raw & The Cooked</album>"
+ "</artist>"
+ "</music>";
private final static String COMMON_DTD
= "<!ELEMENT music (artist*)>"
+ "<!ELEMENT artist (album+)>"
+ "<!ELEMENT album (#PCDATA)>"
+ "<!ATTLIST artist name CDATA #REQUIRED>";
public static void main(String[] argv)
throws Exception
// this version uses just a SYSTEM identifier - note that it gets turned
// into a file: URL
String xml = "<!DOCTYPE music SYSTEM \"bar\">"
+ COMMON_XML;
// this version uses both PUBLIC and SYSTEM identifiers; the SYSTEM ID
// gets munged, the PUBLIC ID doesn't
// String xml = "<!DOCTYPE music PUBLIC \"foo\" \"bar\">"
// + COMMON_XML;
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setValidating(true);
DocumentBuilder db = dbf.newDocumentBuilder();
db.setEntityResolver(new EntityResolver()
public InputSource resolveEntity(String publicId, String systemId)
throws SAXException, IOException
System.out.println("publicId = " + publicId);
System.out.println("systemId = " + systemId);
return new InputSource(new StringReader(COMMON_DTD));
Document dom = db.parse(new InputSource(new StringReader(xml)));
System.out.println("root element name = " + dom.getDocumentElement().getNodeName());
} -
How to check radio button as default on the basis of database value?
Hi Friends,
I have one jsp, in which I am having a field of radio button, which have two boolean values of 0 & 1. I want to check the radio button as default on the basis of database value, kindly help me out.
Thanks a lot in advance. Please help me out.probably, when using struts you should do all your calculations in action class it self
Eg. in jsp
<html:radio name="myForm" property="myProperty" value="0">0</html:radio>
<html:radio name="myForm" property="myProperty" value="1">1</html:radio>
in Action class
if (databaseValue == 0)myForm.setMyProperty(0);
else if (databaseValue == 1)myForm.setMyProperty(1);
rest will follow
whatever be the value it will come selected
Maybe you are looking for
-
Problems with AppleWorks drawing docs under Snow Leopard
Since I installed Snow Leopard, I've encountered two major problems: (Problem 1) AppleWorks gets corrupted when dragging a picture file (.jpg or .png) from the desktop into a drawing document. Various dialogs (e.g. "Format : Document..." or "Format :
-
my ipod 4g is stuck in headphone mode and i tried EVERYTHING but no solution HELP I DONT WANT TO CHANGE MY IPOD FOR ANOTHER ONE !!!!! I really want to hear all my stuff without using my headphones every second of the day!!! PLEASE!!!!!
-
I am getting the following error when I call wwsso_app_admin.ls_login. Unexpected error encountered in wwsec_app_priv.process_signon(User-Defined Exception)(WWC-41417) Any clue? Thanks in advance.
-
Unable to see my report in the LOV
Hello, I have a v basic question. I have changed the report "Invoice Print Selected Invoices" to display an XML output and after I submit the report and it completes, I try to run the XML Report Publisher concurrent program. The parameter wwindow doe
-
Buenas tardes Expertos, Existira alguna forma o metodo para poner a un cliente en inactivo automaticamente, en caso de morosidad , para que la persona que hace esto se despreocupe del tema?, se me ocurre crear un SP que me saque los datos de todos lo