SOFM create mulitple entrance in the document content
Hi @ all
How could I create multiple entrances in the DocumentContent?
Since now I'm binding the different elements (in my case 4 different container elements) to the DocumentContent, but after this task there is only one entrance. I think I delete the different entrances by using the same DocumentContent.
How could I assign my 4 container elements entries in this DocumentContent?
Please I need help.
THX
Regards Phil
Hi Phillip,
How is your container element DocumentContent defined? Multiline? There are container operations which will allow you to append new entries to a container, as opposed to wiping them out. In the container operation, chose the <- operand, instead of =, and you should be appending new entries into your container.
Regards,
Sue
Similar Messages
-
HHow to create a keyline around the document perimeter
Hey guys,
I am trying to create a keyline around the document instead of using the crop mark. I would like to automate this task for each documents for any size I create. Does somebody tried to set up a applescript for that?
I found a bunch of script about how to create a stroke for text frame but I don't know how to create a black stroke in the size of my artboard.... Help me please!
ThanksIs this you asking?
var doc = app.activeDocument, pages = doc.pages,
width = doc.documentPreferences.pageWidth, height = doc.documentPreferences.pageHeight,
oldRO = doc.viewPreferences.rulerOrigin;
doc.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN;
for(var i=pages.length-1;i>=0;i--)
var txfm = pages[i].textFrames.add();
txfm.strokeWeight = 1;
txfm.strokeType = "Solid";
txfm.geometricBounds = [0,0,height,width];
doc.viewPreferences.rulerOrigin = oldRO;
Regards,
Chinna -
Getting the document content in a variable??
Hi,
How can I get the entire contents of a document into a string variable? I donot
want to print the contents inline but rather have to get them in a variable. Using
printDoc or printProperty tag?? I guess I will have to use printDoc but then how
can I stop the contents from being displayed in the jsp and how can I put them
in a variable??
Please help me...
Thanx.
PriruaYou should always double-check code put on the newsgroups, even if it's
put there by me :)
It probably should be at the beginning:
<es:forEachInArray array="<%=docs%>" id="adoc"
type="com.bea.p13n.content.document.Document">
<%
byte[] bytes = adoc.getContentBlock(0L, -1L);
Notice 'byte[]' instead of 'bytes[]', the type specified as Document
(Content doesn't have the getContentBlock() method, the sub-interface
Document does), and the 'L's on the numbers to specify that they are
longs to help the compiler find the correct method.
Greg
Prirua wrote:
Hi,
Thanx for your propmt reply. My code looks somethinglike this
<es:forEachInArray array="<%=docs%>" id="adoc" type="com.bea.p13n.content.Content"
<%
bytes[] bytes = adoc.getContentBlock(0, -1); // retrieve all the content
String enc = adoc.getPropertyAsString(null, "encoding");
String str = null;
if (enc != null)
str = new String(bytes, 0, bytes.length, enc);
else // use VM default encoding
str = new String(bytes);
%>
<li>The document title is: <cm:printProperty id="adoc" name="Title" encode="html"
/>
</es:forEachInArray>
But it is giving me these two errors...
C:\bea\wlportal4.0\applications\portal\MyPortal\WEB-INF\_tmp_war_portalDomain_po
rtalServer_MyPortal\jsp_servlet\_portlets\__contentq.java:152: cannot resolve
sy
mbol
symbol : class bytes
location: class jsp_servlet._portlets.__contentq
bytes[] bytes = adoc.getContentBlock(0, -1); // retrieve
all the content //[ /portlets/contentQ.jsp; Line: 19]
^
C:\bea\wlportal4.0\applications\portal\MyPortal\WEB-INF\_tmp_war_portalDomain_po
rtalServer_MyPortal\jsp_servlet\_portlets\__contentq.java:152: cannot resolve
sy
mbol
symbol : method getContentBlock (int,int)
location: interface com.bea.p13n.content.Content
bytes[] bytes = adoc.getContentBlock(0, -1); // retrieve
all the content //[ /portlets/contentQ.jsp; Line: 19]
^
2 errors
Could you plz specify if I have to include some file or something ?
Thanx.
Gregory Smith <[email protected]> wrote:
You will need to call the getContentBlock() method on the Document
object to retrieve the bytes of the document's content. Then, you do
whatever you need to with the bytes. When converting it to a String,
you
should be aware of double-byte-character encodings, and should check
the
Document's encoding metadata attribute, e.g.:
<%
bytes[] bytes = doc.getContentBlock(0, -1); // retrieve all the content
String enc = doc.getPropertyAsString(null, "encoding");
String str = null;
if (enc != null)
str = new String(bytes, 0, bytes.length, enc);
else // use VM default encoding
str = new String(bytes);
%>
In 8.1, the new <cm:getProperty> is able to retrieve the BinaryValue
of
a binary property of a Node.
Greg
Prirua wrote:
Hi,
How can I get the entire contents of a document into a string variable?I donot
want to print the contents inline but rather have to get them in a variable.Using
printDoc or printProperty tag?? I guess I will have to use printDocbut then how
can I stop the contents from being displayed in the jsp and how canI put them
in a variable??
Please help me...
Thanx.
Prirua -
2 outputs getting created simultaneously when saving the document
Dear SDNers,
I have a shipment Document.
Upon saving it 2 Outputs- LAVA for (EDI) get generated at the same time.
Clarification needed:
1. Please guide as to where i need to look for the error as to why 2 outputs are getting triggered simultaneously( gap of 1 second).
2. i have checked in the processing routine associated with it. Is it the right place?
Regards,
SuryaD.Hi Nagaraj,
thanks for your response.
So if i understand right, you mean to say that if 2 condition records are maintained, then 2 outputs migh get created.
Right.
Regards,
SuryaD. -
VMware Create mulitple VM at the same time
VMware could create multiple VMs using one template at the same time.
Is it possible for VMM to manage VMware and provide this feature? (i.e. create VMs on VMware using 1 template at the same time) thanks.Hi,
this should work.
Not by using the VMM management console but check this:
http://social.technet.microsoft.com/Forums/en-US/9b0b6650-f4ee-435c-88a1-01e1921fcb67/could-vmm-2012-provision-multiple-vms-using-the-same-template-at-the-same-time?forum=virtualmachinemanager
http://technet.microsoft.com/en-us/library/dd349315.aspx
Regards
Sebastian -
Content Search and not the document in SharePoint 2010
Hi,
The requirement is : Search the content of documents by storing the data in a database-driven structure and get the search results in a grid view with data in different columns. My questions are :-
1) Can we store complete content of the word document in a separate database (other than content DB of site collection) or in list/library and show in search results/SP search result page ?
2) Can we convert the existing documents in XML format and save it SharePoint ? Will that content be visible in Search results ?
3) How can we modify search page to have check box before every search result ?
4) How can we export the selected search results in an excel file ?
Any help will be highly appreciated !!!
Vipul JainHi Inderjeet,
Thanks for the reply. But the client's existing documents are in .doc (Word 2003) format , which is not an open-xml supported format. So the first step would be -
Q1) How can we extract the content from word documents ?
The existing documents are based on a standard corporate template (.dot). These documents are having very heavy content , for example, resume document of an employee, having 20 experiences in very big paragraphs in text format.
Q2) Can we store such large content (experience/qualifications/professional licenses etc) in SharePoint list/library columns ? If yes , which column type will be used...
Its true that we can convert the existing documents in XML and then the content will be searchable in SharePoint 2010.
Q3) Can we customize the search page to that level that it can give us results in a grid view having different columns , and user can select the multiple search results and create a document dynamically based on those selected search results.
I Know anything can be done using customization's (.net C#)..I just want to clarify for SharePoint search page. If yes , then there will be no need to store the document contents in a separate SQL database.
Kindly reply.
Vipul Jain -
How to add the library document version to the parent Document content type?
Hi All,
I have a PWA instance with a project site for each project.
Each project site has its own document library.
Now I want to create several Templates to be available within each document library.
I have created the new content Site Content Types (Site Settings > Site Content Types) to fit my needs; each content type has the "document" content type as parent type.
Now I want include the "version" property (the dynamic value from the versioning) to each new document type, so I have tried to enable the "Information management policy settings" to the parent "document" type or the new ones,
including the label "{Version}", but I receive this error:The label reference, Version, could not be found.
So the only way to do this, is to open each site document library and make this change within it.
Why I can't enable the Lable at the Site level?
ThanksHi,
I can reproduce the issue by adding {version} or {_UIVersionString} in site content types > Document > Information Management policy settings > enable label.
As workaround, please create a document library, then add label in document library settings > Information Management Policy settings. Now save this document library as template and create new document library based on this template, the policy settings
will be saved for new document libraries.
Regards,
Rebecca Tu
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] -
This is not a typical Windows 8 problem, I had the same problem with all my previous Acrobat versions on all previous Windows versions.
How can I make sure that when consulting pdf files via Windows explorer the pdf file is represented as a genuine miniature of the document content itself and noit just a document icon with Adobe logo?Hi Josialaers,
Turn the 'Preview Pane' ON and you should be able to see the content of the pdf when clicked.
When 'Show preview handlers in preview pane ON' is checked in 'Folder Options' of Windows Explorer.
Regards,
Rave -
Hi,
When a site collection was created, I enabled the Document ID feature at site collection level. Then some item was created in a document library as well as list libarary
Now it was decided that we dont want the Document ID feature so I disable the feature from Collection feature list
Still when a user view the property of a document it shows the Document ID property with the ID (when click on the ID it shows the message that
This Site Collection is not configured to use Document IDs.
Troubleshoot
issues with Microsoft SharePoint Foundation.
Correlation ID: 9640ac9f-4b9c-4ae8-9f0b-402ed7e3b3c5) Is there anything that I should do so that DOcument ID property does not show on the document property page... I tried
to looked at the content type to see if I can remove the document ID but I could not find the Document ID as a property that can be removed from the type
Hi,
I would just remove the column from the view. You can make views for each list, it you look under the list by Clicking List while the list is open, you should see a link in the ribbon which say "Modify view" click this link.
This link will open the edit view page you can then uncheck the box for the column which will remove it form that view.
According to this
http://msdn.microsoft.com/en-us/library/ee559302.aspx
Deactivating the feature removes links to the Site Collection Settings page, makes the page that is used to look up document IDs no longer available, turns off the document ID service, and stops assigning document IDs. The server does not remove the columns
that it adds at the site level when the feature is first activated so that, even after deactivation, the existing document IDs are preserved. After the feature is deactivated, users who try to use a static URL to look up an item by its document ID see an error
message indicating that "This Site Collection is not configured to use document IDs."
The Document id service will add new columns to the document content type and the document set content type.
It also adds an event receiver which should be deactivated when you deactivate the doc id service.
Theoretically. You should be able to go in and remove the columns from the document type, and then force an update.
Thanks,
Rock Wang
Rock Wang TechNet Community Support -
Can't change column order from document content type
Hi,
I noticed a strange error in our SharePoint 2010 environment:
We are using a SharePoint 2010 Enterprise Edition which was migrated from a MOSS 2007 Enterprise Edition with one central document library.
In this library are several content types plus the given document content type which was already there.
When I try to edit the column order in the document content type settings the following error occurs:
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and
where it originated in the code.
Exception Details:
System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location
of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.SharePoint.ApplicationPages.ChangeFieldOrderPage.OnLoad(EventArgs e) +376
System.Web.UI.Control.LoadRecursive() +65
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427
This error only occurs with the document content type. Furthermore I am not able to reproduce this error on other libraries except when
I am using a template from this library.
I tried to delete this content type but every time an error occurs which is saying that the content type is still in use. I checked the entire library and all informations from the SharePoint Manager 2010 Tool but the content type is definitely no longer in
use.
I appreciate every little bit of help regarding this problem.
PS:
There is also another error concerning every content type in this library: I can’t create a new or use the standard Microsoft document information panel template because every time I try to there also occurs an error which
states out a NullReferenceException regarding the metadata of this library. But that is another story which is next on my to-do list. First I would like to solve the first error concerning the column order.
Thanks and regards,
Thomas K.Hi TKellner,
Thanks for your post.
1.
Please try to use the code below to check whether the Content Type is in used.
http://www.learningsharepoint.com/forum/sharepoint-2007-programming/check-where-the-content-type-is-used-in-sharepoint-site/
2.
Can you open the Document Library in SharePoint Designer 2010? Also, can you open the template file correctly?
Share the result. -
Difference between the Document Library in Document Center and Team Site
Hi,
I would like to know the difference between a Document Library in a normal team site and document center site.
Also what is the maximum number of item that I can upload in each document library. ( For both sites (Team Site & Document Center Site )
ThanksThe library which is created by default in a Document Center has "Document Set" and "Link to a Document" content types added to it apart from the "Document" content type. Whereas the OOB document library in Team site has only
"Document" content type attached to it. The library in team site can be easily extended to have "Document Set" and "Link to a Document" content types attached to it.
Moreover, metadata navigation is automatically added in a library in Document Center. However, it can also be applied to a library in team site. A site level feature named "Metadata Navigation and Filtering" needs to be activated and then in the
library settings a link "Metadata navigation settings" will appear under "General settings.
In nutshell, "Document Set" and "Link to a Document" content types and "Metadata navigation settings" are automatically added to OOB library in Document Center.
As far as the number of documents is concerned, you can upload millions of documents in the library (30,000,000 per library). And this limit will apply to any library whether in team site or document site. The main thing to take care of is that number of
documents returned by a particular view should not exceed the List View Threshold.
Blog | SharePoint Learnings CodePlex Tools |
Export Version History To Excel |
Autocomplete Lookup Field -
To get Document content via RFC
Hi forum,
I have a small bsp-application to show documents for a material-number stored in the SAP-tresor (via ftp).
The SAP-tresor is installed in the core-system, the WEB-AS is another server.
I developed a remote-enabled function module called get_doc_content_rfc. This function module reads some customizing to get all values for calling the function module CV120_DOC_CHECKOUT_TO_TABLE.
Now, when I call my get_doc_content_rfc in the core-system, I get the document content via the function module CV120_DOC_CHECKOUT_TO_TABLE. When I call my function module get_doc_content_rfc form the developer-system via RFC in the core-system, the function module CV120_DOC_CHECKOUT_TO_TABLE dosn't deliver the document content.
In the debugger, I can see, the function module CV120_DOC_CHECKOUT_TO_TABLE opens a ftp-connection to the server with the tresor and then reads the document content. Do I use my function module get_doc_content_rfc in the core-sysem, the ftp-connect can be established. Do I use my function module get_doc_content_rfc via RFC to the core-system, the ftp-connection opend by the function module CV120_DOC_CHECKOUT_TO_TABLE gets a time out.
Now, my question. what can I do, to get the document content via RFC from the core-system.
Thank you for help
MeinolfHi,
Did you check RFC Adresses in SM59 both of two systems.
May be different.
ibrahim -
Print of all the document no In MB90 by collective slip
Hi All,
we want to print of all the document no. we put in MB90 from and to.
collective slip already mark in MIGO output.please guide what has to be done in configuration.
Or there is another Tcode where we solve this issue.
Thanks in advance.
KunwarHi Kunwar,
first check, Have you created message for all the documents and what is the dispatch time in the message. You have to select option no. 3 ( send with application own transaction) for output type WE03.
SPRO >> Materials Management >> Inventory Management & Physical Inventory >> Output Determination >> Maintain Output types >> Click on Output type go to default values and set the dispatch time as 3
Hope this will help you.
Regards,
Manish Jain -
not able to delete "Document" content type from a library. I have a custom content type. I have added the custom content type to all the items of library. also, i have added the custom columns from "Document" content type to my custom
content type. Still cannot delete the "Document" content type. I am doing the same process in different site collections and different libraries. But not able to delete in a few say- 10 in 100. Get the error - "Document content type is still
in use"Hello
Here you go
http://blog.octavie.nl/index.php/2012/09/14/error-the-content-type-is-in-use-explained
https://social.technet.microsoft.com/Forums/en-US/e81020e3-2c12-4f39-a2f4-f1fd88ba6547/content-type-is-still-in-use-on-document-library
Please remember to click 'Mark as Answer' on the answer if it helps you -
Livecycle connector for sharepoint Set Document Content for Office documents
Hi,
I'm trying to figure out how the LiveCycle 9.5 connector for sharepoint works. It all works like a charm, exept for the set document content activity in a LiveCycle process.
When I have a file named test.txt on my Sharepoint server, and I execute the process with the "set document content" activity to replace the content with the content of the same test.txt files' content which I changed for the experiment, it gets updated without any problems.
Yet, when I have a file named test.docx on my Sharepoint server, and I try to replace the content with that of the content of the same test.docx file with altered content, the document content doesn't get updated to the new content.
Is there a certain configuration that I need to do, to make this work or is this a known issue of the connector?
Thanks in advance for your answer
Kind Regards,
Ronald Kamp
Junior Flex/Java/LiveCycle Consultant at iDA MediaFoundry.Hi Ronald,
I could not get this reproduced at my end. We were successfully able to replace contents of a .docx file as well.
Can you please attach the livecycle process along with the thread in case issue has not yet been resolved at your side?
Thanks
Raghu
Maybe you are looking for
-
Can't see photos copied over from old mac - any ideas?
I copied my photo library over from my old mac (same method as I used for my iTunes library, which worked) to my new one. I just dragged out the original empty library folder and put the one from the old mac in its place. Non of the photos showed up.
-
"No Disk Found" error during installation of Solaris 10[11/06] on HP 6710b
Hallo Guys, I am trying to install Solaris 10 on my HP 6710b lap top but it fails with "No Disk Found" error. I used "Solaris 10 support tool" to check my system and it reports that my system is supported. You can find the report bellow. I am sure th
-
I can not remember the answer to my security questions and the email that is on the to send to is not mine
-
my computer crashed recently and i lost my i-tunes library but when i reinstalled i-tunes it would only copy some songs from my i-pod. i just purchased new songs,and my i-pod will not sync them...HELP?!
-
I have a function ('checkDrop') which I call in 'onRelease' for several draggable MCs. At present I've hard coded each draggable MC , eg: drag2_mc.onRelease = function() { stopDrag(); checkDrop(); if (HITtest == 2 or HITtest == 1) { this.gotoAndStop(