How to retrieving the content using Links
Hi
Please suggest me how to retrive content using link property.
I have added link property to my Content. and i have added in internal resource path to the Link property.
But my question is how access the page which is linked to my Content.
How can i use it with anchor tag when i want show display the linked page content.
what are tags to be used to retrive the linked content in the page.
I found below line in CM documentation
"These relationships are used by developers in their content queries when retrieving content to display in
your portal."
But i could found how to retrive.
Genarally what technique we use to link an internal resource of our Content management
thanks in advance
Edited by: vamshi krishna on Jun 12, 2011 12:32 AM
It sounds like there may be a misunderstanding about our link property feature.
That feature is not for web hyperlinks. For that you can just use a string property. The links feature is for pointers to other pieces of content.
(from: http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/contentTypesCm.html)
"Using Link Properties
You can create properties that allow content contributors to associate content items. Content contributors can link to content within the same or different repositories within the Virtual Content Repository. For example, if you have related content items that are stored in different folders, you can use content link properties to create relationships among content items. These relationships are used by developers in their content queries when retrieving content to display in your portal.
Link properties can also be multi-valued to allow content contributors to link to multiple content items. For detailed instructions on adding a link property, see Define the Properties of a Content Type."
Edited by: Chris Bales on Jun 13, 2011 2:56 PM
Similar Messages
-
How do retrieve the contents from a DataTable?
I have a DataTable filled with the contents of an Excel spreadsheet.
DataTable dtDataTable = new DataTable();
using (OleDbDataAdapter oledbAdapter = new OleDbDataAdapter(oledbCmd))
oledbAdapter.Fill(dtDataTable);
How do retrieve the contents from the DataTable? ... one value at a time (for example row 3, column 5).
bhs67This works:
string stData = dtDataTable.Rows[3].ItemArray[5].ToString();
bhs67 -
How to retrieve the content of the indexed column
In Oracle UltraSearch, how to retrieve the content of the file in the indexed column cache_file_path.
we try the flowing sql
SELECT cache_file_path FROM mytable
WHERE contains (mytable.cache_file_path, 'viet', 1) > 0
but we only have the cache_file_path column, not the content of the file were indexed.I think this is what you're looking for:
DECLARE @table TABLE (amountPaid FLOAT, datePaid DATE, memberID INT)
INSERT INTO @table (amountPaid, datePaid, memberID) VALUES
(10.00, '2014-01-01',1),(10.00, '2014-02-01',2),(10.00, '2014-03-01',3),(10.00, '2014-04-01',4),(10.00, '2014-05-01',5),(10.00, '2014-06-01',6),(10.00, '2014-07-01',7),(10.00, '2014-08-01',8),(10.00, '2014-01-01',9),(10.00, '2014-10-01',10)
SELECT *
FROM (
SELECT *, SUM(amountPaid) OVER (ORDER BY datePaid ROWS UNBOUNDED PRECEDING) AS runningTotal, ((SELECT SUM(amountPaid) FROM @table) / 100) * 50 AS percentileAmount
FROM @table
) x
WHERE percentileAmount >= runningTotal
It depends upon SQL Server 2012's windowed functions. It would be possible to also do this with a rCTE in earlier versions.
Giving your code an eyball, I think I see what it's doing. Unfortunately, I'm stuck using 2008 R2, so I don't have access to UNBOUNDED or PRECEDING. I'll have to research rCTE - I know what a CTE is, but not the 'r' prefix. -
Hello,
I need to know if it's possible to retrieve the content type used in a document library, so I can know the columns active and used in this document library. I am using the Client Model in C#.
ThanksFirst, retrieve your document library as a List object. Then, use the
List.ContentTypes property to iterate through all the content types assigned to the list.
Blog:
blog.beckybertram.com |
RSS | @beckybertram |
SharePoint 2010: Six-in-One -
How to retrieve the system used in an iview?
hello,
i'm currently having trouble retrieving the proper attribute of an iview to retrieve the system used by it.
it seem like the strings identifying the system in the iview differ in some iviews.
using either:
myIView.getAttribute(IAttriView.PORTAL_SYSTEM)
or
myContext.getAttributes("").get("System").get().toString()
produce errors.
while get("System") sometimes provides the correct system alias the attribute is none existant for other iviews where the string would be "Systemalias".
IAttriView.PORTAL_SYSTEM doesn't seem to work at all.
i did implement fail safe code if the attribute isn't present, however i don't know how to retrieve the system attribute without doing a case switch or something similar for all the different strings, which i would prefer not to do.
also, is there an easy way to retrieve all iviews which use a specific system without parsing the whole pcd and checking the attributes?Prerequisite : Create the System Alias for the systems used in the application.
Use the below code to retrieve the system details:
HashMap mapattr = new HashMap();
HashMap map = new HashMap();
IUser user = WDClientUser.getCurrentUser().getSAPUser();
IPrincipal principal = (IPrincipal)user;
ArrayList list = UMFactory.getSystemLandscapeWrappers();
ISystemLandscapeWrapper systemLandscape = (ISystemLandscapeWrapper)list.get(0);
//Portal System ALias name
ISystemLandscapeObject landScapeObject = systemLandscape.getSystemByAlias("<system alias name>");
IUserMappingData userMapping = (IUserMappingData) UMFactory.getUserMapping().getUserMappingData(landScapeObject,principal);
userMapping.enrich(map);
mappedUserId = map.get("user").toString(); // String "UserId"
mappedPassword = map.get("mappedpassword").toString(); //String "Password"
catch(Exception e)
e.printStackTrace();
wdComponentAPI.getMessageManager().reportException("Exception during retrieving the User Details - " + e.getMessage(),true);
Thanks & Regards,
Amar Bhagat Challa -
How to retrieve the Audio/Video link (final cut pro hd 5)
Hi there, and sorry for my misknowledgement of this soft.
I'd like to know if it's possible once we have delete the audio part of a clip in the timeline to get back the Audio part synchronized with the video.
Thx for help !Not entirely sure if I'm following you but try this:
Select your video-only clip
Press F on your keyboard to do a Match Frame. The (video & audio) clip should now be loaded into the Viewer with the In & Out matching your timeline clip.
Replace the clip in the timeline with the clip from the Viewer (For most folks/scenarios, that means drag from the Viewer)
Post back if that isn't it. -
Retrieve the content of the file in the indexed column
In Oracle UltraSearch, how to retrieve the content of the file in the indexed colun cache_file_path.
we try the flowing sql
SELECT cache_file_path FROM mytable
WHERE contains (mytable.cache_file_path, 'viet', 1) > 0
but we only have the cache_file_path column, not the content of the file were indexed.Please post on the UltraSearch forum.
-
Dear Abapers,
I request the Abapers kindly reply for this blog
I want to retrieve the sapscript layout changes for a particular transport request in development server after that many transport request created and moved to quality ?
I checked in SE03 transaction the transport request was there. But I want to retrieve the existing transport request which is not moved to Quality?
Is it possible to retrieve the existing transport request in development which is not moved to quality ?
Like how we retrieving the programs using versions in development server, In the same way I want to retrieve the sapscript layout in development server ?
Thanks & Regards
Muzeebur Rahiman.SHi,
There is no version management for SapScript or Smartforms .
When you write "transport request in development which is not moved to quality" - was the transport ever released and exported from the development system? If yes, and if the "Transport files" are still available in "Transport directory" (or if the transport files were backed up and could be retrieved), the transport could be imported again. If the TR was not exported, you are out of luck, I believe...
I would not recommend you do it on your own even if you happen to have enough authorizations (consult with Basis and/or Transport Admin, if you have one in your organization). I would not recommend that it's imported on a development system or QA system, even if the transport contains no other objects - only the SapScript form in question. Import it on a "sand-box" that gets overwritten by system copy from time to time... Once the transport is imported, you should have the old version of SapScript in that system and could analyse the changes and perform manual merge.
cheers
Jānis -
How to extract the content of a section using VBA?
For example, I have an article like this:
Abstract
AbstractParagraph1
AbstractParagraph2
Body
BodyParagraph1
BodyParagraph2
Reference
ReferenceParagraph1
ReferenceParagraph2
Knowing that Abstract, Body and Reference are all headings, which means if I click the triangle button on the left of the heading (For example, Abstract), AbstractParagraph1 AbstractParagraph2 will shrink or expand. So my question is: how to retrieve the paragraph
in a specific section using VBA?Hi UW,
>> how to retrieve the paragraph in a specific section using VBA?
In my option, you could use the Section Object (Word) to get the section object, and then use the Section.Range Property (Word) to get the content of the special section. The links below might be useful to you.
# Section Object (Word)
https://msdn.microsoft.com/en-us/library/office/ff194295.aspx
# Section.Range Property (Word)
https://msdn.microsoft.com/en-us/library/office/ff836097.aspx
Best Regards,
Edward
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.
Click HERE to participate the survey. -
I am doing a project for internet control using Java,PHP and MySql.All sites should go through the proxy server only.If the HTTP header contains Content-Length,am getting the content length as below:
public class HTTPResponseReader extends HTTPMessageReader
String statusCode;
public HTTPResponseReader(InputStream istream) throws IOException, NoSuchElementException
BufferedInputStream distream = new BufferedInputStream(istream);
retrieveHeader(distream);
StringTokenizer st = new StringTokenizer(new String(HTTPMessageReader.toArray(header)));
versionProtocol = st.nextToken();
statusCode = st.nextToken();
String s;
while (st.hasMoreTokens())
s = st.nextToken();
if (s.equals("Transfer-Encoding:"))
transferEncoding = new String(st.nextToken());
if (s.equals("Content-Length:"))
contentLength = Integer.parseInt(st.nextToken());
if (s.equals("Connection:"))
connection = new String(st.nextToken());
if (connection.equals("keep-alive")) mustCloseConnection = false;
retrieveBody(distream);
}After getting the Content-Length,i used read method to read the content upto that content length.Then i concatenated the HTTP header and body and the requested site was opened.But some sites dont have Content-Length.Instead of that,Transfer-Encoding is used.I got the HTTP Response header as "Transfer-Encoding:chunked" for some sites.If this encoding is used how to get the length of the message body and how to read the content.
Can anybody help me.
Thanks in advance...
Message was edited by:
VeeraLakshmiWhy don't you use HttpUrlConnection class to retrieve data from HTTP server? This class already supports chunked encoding...
If you want to do anything by yourself then you need to read HTTP RFC and find all required information. Well in two words you may reject advanced encoding by specifying HTTP 1.0 in your request or download chunked answer manually. Read RFC anyway :) -
How to retrieve multiple columns using "returning" in the Insert query.
hi,
wanted to know how to retrieve multiple columns using "returning" in the Insert Query.
For retrieving one column we write the query as follows:
Insert into TABLE values(1,2,3,4) returning COLUMN1 into PARAMETER
But can we retrive multiple columns in the same query?
am using oracle 10g and coding in .NETHi,
You can definetely get multiple values from a single query using the 'returning' clause.
Eg : insert into emp (empno, ename, job, deptno) values (7324,'ADAM','MARKETING',30) returning ename, deptno into var1, var2; PN : var1 & var2 to be declared as varchar2 & number respectively.
More insight into the 'RETURNING' clause in this link.
http://www.samoratech.com/PLSQL/swArtPLSQLReturn.htm
Regards,
Bhanu. -
How to Retrieve the Selected Values from selectOrderShuttle using ADF 11g
Hi Every One,
Does anyone has idea how to retrieve the selected Items using shuttle and Order of the items using 'SelectOrderShuttle' component ?
Thanksshuttle's valuechangeevent would fire when you shuttle items back and forth.
public void selectOrderShuttle1_valueChangeListener(ValueChangeEvent valueChangeEvent) {
ArrayList list = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue()));
if (list != null){
for (int i=0; i<list.size(); i++) {
int l = list.size()-1;
val = list.get(l).toString(); //returns , delimited string
if (val != null){
val = val.replaceAll("[\\[\\]]", "");
StringTokenizer st = new StringTokenizer (val, ",");
int nto = st.countTokens ();
for (int j = 0; j < nto; j++)
String token = st.nextToken ();
.......... -
How to read the content of ms-word file use pure java???
how to read the content of ms-word file use pure java???
hi,
check this: http://jakarta.apache.org/poi/ -
How to fecth the contents of a mail from the server by using jsp
hi
Can any body tell me how to fetch the contents of mail from the server by using javamail api...please send me code if some one have
bye.hi
Can any body tell me how to fetch the contents of mail from the server by using javamail api...please send me code if some one have
bye. -
How to retrieve the data from SAP-BAPI by using VB Code
Hi ,
I am new to BAPI.
V have created an application in Visual Basic with the following fields
EmpNo , EmpName, Addr1, Addr2, City and Phone (Only for Test)
We have written the code for SAVING the data into SAP. Already we have
constructed a table with the respective fields in SAP.
For that we ourself created our own BAPI Structure / Function Group /
Function Module/ Business Object - RELEASED related elements.
1)Established the connection successfully.
2)Stored the data into SAP Successfully and v r in need of
3)HOW TO RETRIEVE THE DATA FROM SAP (USING GETLIST.....GETDETAIL....)
Following is the code :
'BAPI Structure : ZBAPIEMP
'Function Group : ZBAPIEMP
'Function Module : ZBAPI_EMP_CREATEFROMDATA
'Business Object : ZBAPIEMP
'Function Module : ZBAPI_EMP_GETLIST
Dim bapictrl As Object
Dim oconnection As Object
Dim boEmp As Object
Dim oZEmp_Header As Object
Dim oImpStruct As Object
Dim oExpStruct As Object
Dim oreturn As Object
Dim x As String
Private Sub Form_Load()
Set bapictrl = CreateObject("SAP.BAPI.1")
Set oconnection = bapictrl.Connection
oconnection.logon
Set boEmp = bapictrl.GetSAPObject("ZBAPIEMP")
Set oZEmp_Header = bapictrl.DimAs(boEmp, "CreateFromData", "EmployeeHeader")
Set oImpStruct = bapictrl.DimAs(boEmp, "GetList", "EmployeeDispStruct")
End Sub
Private Sub cmdSave_Click()
oZEmp_Header.Value("EMPNO") = txtEmpNo.Text
oZEmp_Header.Value("EMPNAME") = txtEmpName.Text
oZEmp_Header.Value("ADDR1") = txtAddr1.Text
oZEmp_Header.Value("ADDR2") = txtAddr2.Text
oZEmp_Header.Value("CITY") = txtCity.Text
oZEmp_Header.Value("PHONE") = txtPhone.Text
boEmp.CreateFromData EmployeeHeader:=oZEmp_Header, Return:=oreturn
x = oreturn.Value("Message")
If x = "" Then
MsgBox "Transaction Completed!..."
Else
MsgBox x
End If
End Sub
Private Sub cmdView_Click()
End Sub
COULD ANYBODY GUIDE ME, HOW TO RETRIEVE THE DATA FROM BAPI, FOR THE WRITTEN CODE.I didn't seen any other answers but here's how it's been done previously in our organization for a custom BAPI. In this example, we give material and language to return the part description. It's not specific to your project but may give you ideas..
-Tim
Option Compare Database
Dim SAPLOGIN As Boolean
Dim FunctionCtrl As Object
Dim SapConnection As Object
Sub SAPLOGOUT()
On Error GoTo LogoutFehler
SapConnection.logoff
SAPLOGIN = False
Exit Sub
LogoutFehler:
If Err.Number = 91 Then
Exit Sub
Else
MsgBox Err.Description, vbCritical, "Fehler-Nr." & CStr(Err.Number) & " bei SAP-Logout"
End If
End Sub
Function SAPLOG() As Boolean
'Verbindungsobjekt setzen (Property von FunctionCtrl)
Set FunctionCtrl = CreateObject("SAP.Functions")
Set SapConnection = FunctionCtrl.Connection
'Logon mit Initialwerten
SapConnection.Client = "010"
SapConnection.Language = "EN"
SapConnection.System = "PR1"
SapConnection.SystemNumber = "00"
'SapConnection.Password = ""
SapConnection.GroupName = "PR1"
SapConnection.HostName = "168.9.25.120"
SapConnection.MessageServer = "168.9.25.120"
If SapConnection.Logon(0, False) <> True Then 'Logon mit Dialog
Set SapConnection = Nothing
DoCmd.Hourglass False
MsgBox "No connection to SAP R/3 !"
SAPLOGIN = False
SAPLOG = False
Exit Function
End If
SAPLOG = True
End Function
Function MatDescr(MatNr As String)
Dim func1 As Object
Dim row As Object, X As Integer, ErsteNr As String
Dim DatensatzZähler As Long
Dim RowField(1 To 50, 0 To 1) As String, RowLine As Long
If Not SAPLOGIN Then
If Not SAPLOG() Then
MsgBox "No connection to SAP !", 16
SAPLOGOUT
Exit Function
End If
End If
' Instanziieren des Function-Objektes
Set func1 = FunctionCtrl.Add("Z_BAPI_READ_MAKT")
' Export-Paramter definieren
func1.exports("MATNR") = MatNr
func1.exports("SPRAS") = "EN"
DoEvents
If Not func1.call Then
If func1.exception <> "" Then
MsgBox "Communication Error with RFC " & func1.exception
End If
DoCmd.Hourglass False
SAPLOGOUT
Exit Function
Else
MatDescr = func1.imports("MAKTX")
End If
If MatDescr = "" Then
MatDescr = "PART NO. NOT FOUND"
End If
End Function
Maybe you are looking for
-
Hi All, I had posted this query to couple of other groups ..I am still struglling with this issue..Hope someone will help me out here I have very basic application which uses DataSerives over RTMP channel to populate dataGrid , I hav
-
Material Cost Estimate with Quantity Structure (How to download)
Is there a standard report or feature available in SAP to download the material cost estimate with quantity structure? Currently we have to print screen and it is very tedious and can't do analysis with those screenshots. Please advice.
-
PDF file opens in a browser window.
I am creating a page in Dreamweaver that has a bunch of links that contain animations. The animations were created first in Powerpoint then saved as a PDF file so the user would still be able to perform the animations yet keep them from being copied.
-
Greetings everyone, I'm trying to use the over function but with two sums, the point is to get the points of a sum to make a graphic that goes up and down depending on this values. This is the first part thats working SELECT {RegistoDeposito}.[Data],
-
Hi, This problem pertains to Asset accountign and internal order accounting. A Capex is made. A settlement rule is defined in the capex wherein the CAPEX is to be settled against the asset under category - AIP- P&M. While trying to settle the CAPEX a