Format/hyperlink certain text in the conversation window using an API plugin
Hi, I want to format/hyperlink certain text and make it clickable in the conversation window of Lync. The click itself will execute a Desktop application.
Is this possible via an API plugin and is there example code on how to manipulate the conversation window?
Thanks!
Hi wyatt biker,
To ensure you get better support, I suggest you turn to our Lync Development forum for dedicated support.
With the assistance provided there, it is more likely the issue can be resolved. Sorry for any inconvenience this caused. Thanks for your understanding.
Best regards,
Eric
Similar Messages
-
Adjusting the Size of the Text in the Preview Window in RH8
Hello, Everyone!
I am new to the forum, but I've been lurking for a while.
We have upgraded from RoboHelp 7 to RoboHelp 8, and I have encountered some conversion issues. The primary layout type of the project is Microsoft HTML Help.
First, the text in the preview window is extremely small -- much too small to be useful to these old eyes. Has this changed in RoboHelp 8? Is there a setting somewhere that enables me to bump up the size of the preview text?
Also, I am encountering a number of spacing issues, including:
Extra space after an em dash (no spaces in version 7)
No space after a colon (there was a space in version 7)
Bullets display as numbers in the preview window, but seem to be OK in "live" version (bullets were fine in version 7)
Finally, we want to make this an AIR application, but the AIR option isn't available in the Single Source Layouts area for this project. When I create a new project, the AIR option is there. What am I missing?
Can anyone offer suggestions as to how I can fix these things? (I am not an "under the hood" kind of guy, so please don't assume I know a lot about the guts of RoboHelp.)
Thanks for any help you can offer!
clintfanHi there
When you examine the Single Source Layouts pod (View > Pods > Single Source Layouts) do you see AIR Help? If not, try right-clicking the pod and you should be able to define a new layout for AIR.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Print material po text in the main window of pur. order
Hi experts,
Here is my issue regarding MATERIAL PO TEXT in smartform of purchase order:
I want to get the material po text in the material description field itself or beside to this column in the mainwindow only in the print of purchase order
so please let me know how to read the material po text to a internal tab field.
very glad for ur replys
TNQs n REGARDS
mahathmaHi TNQs for ur responce.
i want to get the item text in the main window beside to material description column .
i think u got my point actually we'll have item texts for each item , i want to get the text of each item in that row only
i used include text and i gave following attributes
Text Object : EKPO
Text ID : A03
Language : EN
just tell me ,should i need to give any code for this.
thanks and regards, -
Can we create graphic and text in the same window of smartform without using template?
we create graphic and text in the same window of smartform without using template?
Hi Kinjal,
as far as i understand you are talking about a template which you can partitioned and in one part you wants to show your graphics and in other part you wants to print your text, the border of template shall remain invisible.
If you wants to do it without using a template, you can do it as sujjested by Susmitha, but creating a template will provide you more flexibility that if you wants to change the attributes in future you can do it easily. -
How to show additional items in the same window using stacked canvas
How to show additional items in the same window using stacked canvas.
My content canvas has 14 items, and I have to include more.
I want to know how I can use a stacked canvas to show these additional items in the same window, so that I can scroll through horzontally , as if all the items are on one canvas.Well, I intially navigate into my content canvas. At this stage the stacked canvas is not visible, then how should I navigate to an item on the stacked canvas to make it visible?
-
How do I text with the iPad 2 using cellular device?
How do I text with the iPad 2 using cellular device? I also have iPhone 4, can I use them both for texting?
The iPad doesn't have any text over cellular capabilities. You can use apps like Text Free to send texts to non-iOS devices, though.
-
How to find bpel instance in 11g based on the index values using Java APIs
Hi ,
In SOA10G we had option to find the instances based on the index value using Java APIs like below.
WhereCondition criteria= new WhereCondition(SQLDefs.CX_index_1 + " = ?");
criteria.setString(1, "indexValue");
Locator mLoc = getLocator();
IInstanceHandle[] foundInstances = mLoc.listInstancesByIndex(criteria);
Please tell me how to achieve the same functionality in SOA 11G using Java APIs
Regards,
SabaI have multiple bpel in my composite. I checked in ci_indexes table and it shows the instance number of the bpel process. But the em console is showing only the composite instance number. when I opened composite instance, I could see all the bpel process with instance number in the audit trail. How can I find the the actual composite instance number that I should search for in the em console ???
-
Sound problem while transimission over the network by using JMF API
i had done an application which transmit audio and video over the network by using JMF API in JAVA. All my application work very well but i have a problem with the sound while i transmit it. this sound has a very bad quality (i am using AVReceive2.java) .
has anyone an indication or solution for my problem
it's very urgent, please help me.
regards
saryou can try modifing de Capture example from JMF Solutions.
change this function:
public int startCapture() {
int result = -1;
enableComponents(false);
buttonStart.setLabel("Pause");
buttonEnd.setEnabled(true);
startMonitoring();
try {
processor.start();
DataSource clone = Manager.createCloneableDataSource(datasource);
MediaLocator ml2 = new MediaLocator("file://capture.mov");
System.out.println("Content Type " + clone.getContentType());
datasink = Manager.createDataSink(processor.getDataOutput(), ml2);
datasink.open();
datasink.addDataSinkListener(this);
datasink.start();
result = 0;
} catch (Exception e) {
System.err.println("DataSink Exception " + e);
result= -1;
Regards.
Fernando -
How to align output formatted and output text in the same line?
Hi All,
I want an output formatted label and a text on the same line,. I've surrounded these components wth a panel form layout and they automatically align one below the other. how do I kepe them in the same line?
Thanks.Try as per the code snippet below:
<af:document title="TestPage.jspx" id="d1">
<af:messages id="m1" inline="true"/>
<af:form id="f1">
*<af:panelGroupLayout id="pgl1" layout="horizontal">*
*<af:outputFormatted value="outputFormatted1" id="of1"/>*
*<h:outputText value="outputText1" id="ot1"/>*
*</af:panelGroupLayout>*
</af:form>
</af:document>
Thanks,
Navaneeth -
I work for a company that issues business iPhones to our sales representatives so that they can easily communicate with our customers in their territories and have access to many helpful resources.
One of our sales reps recently went on to work for a different company (our competition). When we were getting his company phone ready for the next representative that would take over his territory, we discovered that he had been using his iCloud account to text customers for the past 2-3 months instead of the phones number. Unfortunately this means he still has access to all of our customers via his personal iCloud account, and they are probably still texting him for their product needs.
We aren't sure if this was intentional or not, but is there anything we can do to keep things like this from happening in the future? A way to keep the sales rep from using their personal iCloud address to send and receive texts on the company phones?
Thanks!Settings App > Messages > Start New Conversations From [set to your phone number].
-
How to open an URL and close the URL window, using adobe javascript
Hi,
Is it possible to open an URL and close the URL back again(without allowing the user to perform any other operation)? I was able to acheive the opening of the URL, using the app.launchURL("address". true); - But here it lauches in new window, and how do i close the window using the javascript. Is it possible?
Thanks.Hi all
In addition to what Bobby W - Adobe TS added, you might find
the following useful as a bypass or workaround to the pesky prompt.
var pw=window.parent;pw.opener=window.self;window.open("
http://www.adobe.com");
pw.close();
I think this will only work for IE browsers. Actually, I
think the whole window.close() only works for IE, but could be
wrong about that.
Cheers... Rick -
Need to open the iview in the same window using the navigateObsolute method
Hi Guys,
Iam facing a problem using the Navigate Obsolute method. I want the target iview to be displayed on the same window rather than the seperate window. For this I have selected the WDPortalNavigationMode as SHOW_INPLACE. Still the target iview is displayed on different window.
The code I have written is
WDPortalNavigation.navigateAbsolute("ROLES://portal_content/com.accenture.Radar/com.accenture.radar.ProjectsIView",WDPortalNavigationMode.SHOW_INPLACE,WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null);
Could someone help me out.
Thanks,
Suvarna.Hope this will help you:
=========================================================
Defining WorkProtect Mode Centrally
You can change the following settings:
· Standard navigation behavior for unsaved data in portal applications
· Personalization by the end user
· Appearance of the newly opened window if WorkProtect mode is active
1. Choose System Administration ® System Configuration ® Service Configuration.
2. Choose Portal Catalog ® Browse.
3. Navigate to the epcfloader portal service and change to edit mode.
The epcfloader service file is in subfolder Services of application com.sap.portal.epcf.loader.
4. Define values for the following properties:
Property: workprotect.mode.default
Value Meaning
1 Protect unsaved data by opening a new browser window (standard setting)
2 Unsaved data is lost
3 Required behavior can be selected each time the popup appears
Property: workprotect.mode.personalize
Value Meaning
on End users can personalize the behavior.
off End users cannot personalize the behavior.
Property: workprotect.window.features
Defines the appearance of the newly opened window.
Possible values are all the commands accepted by the JavaScript function window.open, such as toolbar=no, location=no
5. Choose Save. -
How to open the target location in the same window using tomahawk menu
Am using apache tomahawk menu component.
We have a mix of locations that are internal path and also external URL. However, we need to open the location in the same window.
We are using the
<t:jscookMenu layout="hbr" theme="ThemeIE" >
<t:navigationMenuItem id="nmi1" itemLabel="Menu1" action="welcome" />
<t:navigationMenuItem id="nmi1_1" itemLabel="Menu11" action="http://www.google.com/" target="_self" />
</t:jscookMenu>
The component open the external URL in a new window irrespective of the target location. Is there a way to override this behavior.
-ThanksCheck that there isn't a <BASE> element in the HEAD element.
-
Cannot move inside the Fonts window using arrow keys?
I'm pretty sure there was a way to move around in the Fonts menu using the arrow keys. The selected Collection, Family or Typeface would turn from grey (not able to navigate) to the blue (able to navigate).
Does this ring a bell to anyone else?So I did search before posting this question but couldn't find anything. Of course right after I post I found the answer.
But this doesn't always work in all programs.
You have to shift the focus to the font window by clicking on it, not just by clicking on a Collection, Family or Typeface line item. Then the selected column will be highlighted blue, the Maximize, Minimize and Close buttons will be in color and the selected item will also be highlighted in blue.
But this doesn't always work in all programs.
Any ideas? -
Featching Data From The Data Base Using DI API in Matrix
Hi
All of u i am shahid i faced a problem when i retrive
the selected data from the data base using matrix plz.
Healp me!.
Thanks
Mohd Shahid.
SAP Techinical Consultent
Option Strict Off
Option Explicit On
Friend Class UseMatrix
'// This parameter will use us to manipulate the
'// SAP Business One Application
Private WithEvents SBO_Application As SAPbouiCOM.Application
Private oForm As SAPbouiCOM.Form
Private oMatrix As SAPbouiCOM.Matrix
Private oColumns As SAPbouiCOM.Columns
Private oColumn As SAPbouiCOM.Column
'// declareing a DB data source for all the Data binded columns
Private oDBDataSource As SAPbouiCOM.DBDataSource
'// declaring a User data source for the "Remarks" Column
Private oUserDataSource As SAPbouiCOM.UserDataSource
' This Function is called automatically when an instance
' of the class is created.
' Indise this function
Public Sub New()
MyBase.New()
'// set SBO_Application with an initialized application object
SetApplication()
'// Create the UI
CreateFormWithMatrix()
'// Add Data Sources to the Form
AddDataSourceToForm()
'// Bind the Form's items with the desired data source
BindDataToForm()
'// Load date to matrix
GetDataFromDataSource()
'// Make the form visible
oForm.Visible = True
End Sub
Private Sub SetApplication()
'// Use an SboGuiApi object to establish connection
'// with the SAP Business One application and return an
'// initialized appliction object
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
'// by following the steps specified above, the following
'// statment should be suficient for either development or run mode
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
'// connect to a running SBO Application
Try ' If there's no active application the connection will fail
SboGuiApi.Connect(sConnectionString)
Catch ' Connection failed
System.Windows.Forms.MessageBox.Show("No SAP Business One Application was found")
End
End Try
'// get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
'SBO_Application.MessageBox("Hello World")
End Sub
Private Sub SBO_Application_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes) Handles SBO_Application.AppEvent
Select Case EventType
Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
SBO_Application.MessageBox("A Shut Down Event has been caught" & _
Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
'// terminating the Add On
System.Windows.Forms.Application.Exit()
End Select
End Sub
Private Sub CreateFormWithMatrix()
'// Don't Forget:
'// it is much more efficient to load a form from xml.
'// use code only to create your form.
'// once you have created it save it as XML.
'// see "WorkingWithXML" sample project
'// we will use the following object to add items to our form
Dim oItem As SAPbouiCOM.Item
'// we will use the following objects to set
'// the specific values of every item
'// we add.
'// this is the best way to do so
Dim oButton As SAPbouiCOM.Button
Dim oStaticText As SAPbouiCOM.StaticText
Dim oEditText As SAPbouiCOM.EditText
'// The following object is needed to create our form
Dim creationPackage
creationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
creationPackage.UniqueID = "UidFrmMatrix14"
creationPackage.FormType = "TypeFrmMatrix14"
'// Add our form to the SBO application
oForm = SBO_Application.Forms.AddEx(creationPackage)
'// Set the form properties
oForm.Title = "Quality Check"
oForm.Left = 336
oForm.ClientWidth = 620
oForm.Top = 44
oForm.ClientHeight = 200
'// Adding Items to the form
'// and setting their properties
'// Adding an Ok button
'// We get automatic event handling for
'// the Ok and Cancel Buttons by setting
'// their UIDs to 1 and 2 respectively
oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 5
oItem.Width = 65
oItem.Top = 170
oItem.Height = 19
oButton = oItem.Specific
oButton.Caption = "Ok"
'// Adding a Cancel button
oItem = oForm.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 75
oItem.Width = 65
oItem.Top = 170
oItem.Height = 19
oButton = oItem.Specific
oButton.Caption = "Cancel"
'// Adding a Text Edit item
'oItem = oForm.Items.Add("txtPhone", SAPbouiCOM.BoFormItemTypes.it_EDIT)
' oItem.Left = 265
'oItem.Width = 163
'oItem.Top = 172
'oItem.Height = 14
'// Adding an Add Phone prefix column button
' oItem = oForm.Items.Add("BtnPhone", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
' oItem.Left = 160
' oItem.Width = 100
' oItem.Top = 170
' oItem.Height = 19
' oButton = oItem.Specific
' oButton.Caption = "Add Phone prefix"
'// Add the matrix to the form
AddMatrixToForm()
End Sub
Private Sub AddMatrixToForm()
'// we will use the following object to add items to our form
Dim oItem As SAPbouiCOM.Item
'// we will use the following object to set a linked button
Dim oLink As SAPbouiCOM.LinkedButton
'// Adding a Matrix item
oItem = oForm.Items.Add("Matrix1", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
oItem.Left = 5
oItem.Width = 500
oItem.Top = 5
oItem.Height = 150
oMatrix = oItem.Specific
oColumns = oMatrix.Columns
'// Adding Culomn items to the matrix
oColumn = oColumns.Add("#", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn.TitleObject.Caption = "#"
oColumn.Width = 30
oColumn.Editable = False
'// Add a column for Item Code
oColumn = oColumns.Add("DSItemCode", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
oColumn.TitleObject.Caption = "Item Code"
oColumn.Width = 40
oColumn.Editable = True
'// Link the column to the ITEM master data system form
oLink = oColumn.ExtendedObject
oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
oColumn = oColumns.Add("DSItemName", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn.TitleObject.Caption = "Item Name"
oColumn.Width = 80
oColumn.Editable = True
'// Add a column for BP Card Phone
oColumn = oColumns.Add("DSWhs", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn.TitleObject.Caption = "Ware House"
oColumn.Width = 40
oColumn.Editable = True
'// Add a column for BP Card Phone
oColumn = oColumns.Add("DSQuantity", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn.TitleObject.Caption = "Quantity"
oColumn.Width = 40
oColumn.Editable = True
'// Add a column for Combo Box
oColumn = oColumns.Add("DSQuality", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
oColumn.TitleObject.Caption = "Quality"
' oColumn.ValidValues.Add("OK", "")
'oColumn.ValidValues.Add("NOT OK", "")
oColumn.Width = 40
oColumn.Editable = True
oColumn = oColumns.Add("DSReport", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn.TitleObject.Caption = "Remarks"
' oColumn.ValidValues.Add("OK", "")
'oColumn.ValidValues.Add("NOT OK", "")
oColumn.Width = 40
oColumn.Editable = True
'// Add a column for BP Card Phone
' oColumn = oColumns.Add("DSPhoneInt", SAPbouiCOM.BoFormItemTypes.it_EDIT)
' oColumn.TitleObject.Caption = "Int. Phone"
'oColumn.Width = 40
'oColumn.Editable = True
End Sub
Public Sub AddDataSourceToForm()
'// every item must be binded to a Data Source
'// prior of binding the data we must add Data sources to the form
'// Add user data sources to the "International Phone" column in the matrix
' oUserDataSource = oForm.DataSources.UserDataSources.Add("IntPhone", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
'// Add DB data sources for the DB bound columns in the matrix
oDBDataSource = oForm.DataSources.DBDataSources.Add("OITW")
End Sub
Public Sub BindDataToForm()
'// getting the matrix column by the UID
oColumn = oColumns.Item("DSItemCode")
'oColumn.DataBind.SetBound(True, "", "DSCardCode")
oColumn.DataBind.SetBound(True, "OITW", "ItemCode")
'oColumn = oColumns.Item("DSItemName")
'oColumn.DataBind.SetBound(True, "OITW", "ItemName")
oColumn = oColumns.Item("DSWhs")
oColumn.DataBind.SetBound(True, "OITW", "WhsCode")
oColumn = oColumns.Item("DSQuantity")
oColumn.DataBind.SetBound(True, "OITW", "U_QCStock")
'// to Data Bind an item with a user Data source
'// the table name value should be an empty string
' oColumn = oColumns.Item("DSPhoneInt")
'oColumn.DataBind.SetBound(True, "", "IntPhone")
End Sub
Public Sub GetDataFromDataSource()
'// Ready Matrix to populate data
oMatrix.Clear()
oMatrix.AutoResizeColumns()
'// Querying the DB Data source
oDBDataSource.Query()
'// setting the user data source data
'oUserDataSource.Value = "Phone with prefix"
oMatrix.LoadFromDataSource()
End Sub
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
If (pVal.FormUid = "UidFrmMatrix") Then
If ((pVal.itemUID = "BtnPhone") And _
(pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And _
(pVal.Before_Action = False)) Then
AddPrefix()
End If
If ((pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD) And _
(pVal.Before_Action = False)) Then
SBO_Application.MessageBox("Form Unloaded, Addon will terminate")
System.Windows.Forms.Application.Exit()
End If
End If
End Sub
Public Sub AddPrefix()
Dim i As Integer
Dim PhoneExtCol As SAPbouiCOM.Column
Dim newPhone As String
Dim oItem As SAPbouiCOM.Item
Dim oEditTxt As SAPbouiCOM.EditText
'// Get the prefix edit text item
oItem = oForm.Items.Item("txtPhone")
oEditTxt = oItem.Specific
'// Flush user input into datasources
oMatrix.FlushToDataSource()
'// Get the DBdatasource we base the matrix on
oDBDataSource = oForm.DataSources.DBDataSources.Item("OCRD")
'// Iterate all the records and add a prefix to the phone
For i = 0 To oDBDataSource.Size - 1
newPhone = oDBDataSource.GetValue("phone1", i)
newPhone = newPhone.Trim(" ")
oDBDataSource.SetValue("phone1", i, oEditTxt.String + newPhone)
Next
'// Load data back to
oMatrix.LoadFromDataSource()
End Sub
End ClassHi Shahid,
I am not sure what your question is. The code you pasted looks like the MatrixAndDataSources example that comes with the SDK. What are you trying to do?
Thanks,
Adele
Maybe you are looking for
-
Hi Gurus, While using F-28, in open item selection, i am selecting Document Number field in additional selection. System is asking for document number and then i am entering document number of open invoice. After pressing enter, that invoice no. disa
-
Owb mapping result in excel sheet
hi , can anyone help me to know how i can get owb mapping running status & result in excel sheet. I have completely forget it. kindly help. rgds, pc
-
Need help with Order by statement
I have a report which has an order by statement to order a varchar2 field in ascending order. The report sorts the records correctly but if I rerun the report, the records with the same values in the column that I order by, do not maintain the same o
-
Mac OS 10.5.8: battery issues
Hi My battery stopped charging (green led still) and is not even recognized, does not charge; Got a new one....same issue. did the trick wher you turn off, unplugg, press 10 sec on standby blablabla...still does not work...what os going on? Thanks
-
Video only enabled when call is initiated from one direction across SIP Trunk
wonder If anyone can shed some light on this. I have an issue between two cucm clusters, tied together with a SIP trunk. If we dial from Australia to the US there is two way video and audio. If the US calls Australia, there is only audio. I have